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.
| 445 | // Notice: This type is EXPERIMENTAL and may be changed or removed in a later |
| 446 | // release. |
| 447 | type AuthorityOverrideCallOption struct { |
| 448 | Authority string |
| 449 | } |
| 450 | |
| 451 | func (o AuthorityOverrideCallOption) before(c *callInfo) error { |
| 452 | c.authority = o.Authority |
nothing calls this directly
no outgoing calls
no test coverage detected