HeaderCallOption is a CallOption for collecting response header metadata. The metadata field will be populated *after* the RPC completes. # Experimental Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.
| 277 | // Notice: This type is EXPERIMENTAL and may be changed or removed in a |
| 278 | // later release. |
| 279 | type HeaderCallOption struct { |
| 280 | HeaderAddr *metadata.MD |
| 281 | } |
| 282 | |
| 283 | func (o HeaderCallOption) before(*callInfo) error { return nil } |
| 284 | func (o HeaderCallOption) after(_ *callInfo, attempt *csAttempt) { |
nothing calls this directly
no outgoing calls
no test coverage detected