public class HeaderCallOption extends Object implements CallOptions.GrpcCallOption
Constructor and Description |
---|
HeaderCallOption(CallHeaders headers)
Header property constructor.
|
public HeaderCallOption(CallHeaders headers)
headers
- the headers that should be sent across. If a header is a string, it should only be valid ASCII
characters. Binary headers should end in "-bin".public <T extends io.grpc.stub.AbstractStub<T>> T wrapStub(T stub)
wrapStub
in interface CallOptions.GrpcCallOption
Copyright © 2023 The Apache Software Foundation. All rights reserved.