MCPcopy
hub / github.com/grpc/grpc-go / AuthorityOverrideCallOption

Struct AuthorityOverrideCallOption

rpc_util.go:447–449  ·  view source on GitHub ↗

AuthorityOverrideCallOption is a CallOption that indicates the HTTP/2 :authority header value to use for the call. # Experimental Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.

Source from the content-addressed store, hash-verified

445// Notice: This type is EXPERIMENTAL and may be changed or removed in a later
446// release.
447type AuthorityOverrideCallOption struct {
448 Authority string
449}
450
451func (o AuthorityOverrideCallOption) before(c *callInfo) error {
452 c.authority = o.Authority

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected