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

Struct MaxHeaderListSizeDialOption

dialoptions.go:690–692  ·  dialoptions.go::MaxHeaderListSizeDialOption

MaxHeaderListSizeDialOption is a DialOption that specifies the maximum (uncompressed) size of header list that the client is prepared to accept.

Source from the content-addressed store, hash-verified

688// MaxHeaderListSizeDialOption is a DialOption that specifies the maximum
689// (uncompressed) size of header list that the client is prepared to accept.
690type MaxHeaderListSizeDialOption struct {
691 MaxHeaderListSize uint32
692}
693
694func (o MaxHeaderListSizeDialOption) apply(do *dialOptions) {
695 do.copts.MaxHeaderListSize = &o.MaxHeaderListSize

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected