MCPcopy
hub / github.com/connectrpc/connect-go / ClientOption

Interface ClientOption

option.go:28–30  ·  view source on GitHub ↗

A ClientOption configures a [Client]. In addition to any options grouped in the documentation below, remember that any [Option] is also a valid ClientOption.

Source from the content-addressed store, hash-verified

26// In addition to any options grouped in the documentation below, remember that
27// any [Option] is also a valid ClientOption.
28type ClientOption interface {
29 applyToClient(*clientConfig)
30}
31
32// WithAcceptCompression makes a compression algorithm available to a client.
33// Clients ask servers to compress responses using any of the registered

Callers 3

applyToClientMethod · 0.65
applyToClientMethod · 0.65
newClientConfigFunction · 0.65

Implementers 15

schemaOptionoption.go
codecOptionoption.go
grpcOptionoption.go
enableGetoption.go

Calls

no outgoing calls

Tested by

no test coverage detected