# Functions
Deprecated: it's not supposed to be called by users directly; may be removed in future versions.
GetClientOptions converts given streamclient.Option(s) to client.Option(s).
WithACLRules adds ACL rules.
WithClientBasicInfo provides initial information for client endpoint in RPCInfo.
WithCloseCallbacks adds callback to Close.
WithConnectTimeout specifies the connection timeout.
WithConnReporterEnabled to enable reporting connection pool stats.
WithContextBackup enables local-session to retrieve context backuped by server, in case of user don't correctly pass context into next RPC call.
WithDestService specifies the name of target service.
WithDiagnosisService sets the diagnosis service for gathering debug information.
WithDialer sets the Dialer for creating connections.
WithErrorHandler sets the error handler.
WithFirstMetaHandler adds a MetaHandler to the beginning of the current list.
WithGRPCConnPoolSize sets the value for the client connection pool size.
WithGRPCInitialConnWindowSize sets the value for initial window size on a connection of grpc.
WithGRPCInitialWindowSize sets the value for initial window size on a grpc stream.
WithGRPCKeepaliveParams returns a DialOption that specifies keepalive parameters for the client transport.
WithGRPCMaxHeaderListSize returns a DialOption that specifies the maximum (uncompressed) size of header list that the client is prepared to accept.
WithGRPCReadBufferSize lets you set the size of read buffer, this determines how much data can be read at most for each read syscall.
WithGRPCTLSConfig sets the TLS config for gRPC client.
WithGRPCWriteBufferSize determines how much data can be batched before writing on the wire.
WithHostPorts sets the host ports for a stream client.
WithHTTPResolver specifies resolver for url (which specified by WithURL).
WithInstanceMW adds middleware for client to handle request after service discovery and loadbalance process.
WithLoadBalancer sets the loadbalancer for client.
WithMetaHandler adds a MetaHandler to the end of the current list.
WithMiddleware adds middleware for client to handle request.
WithMiddlewareBuilder adds middleware that depend on a per-client context for client to handle request NOTE: for streaming APIs (bidirectional, client, server), req is not valid, resp is *streaming.Result If you want to intercept recv/send calls, please use Recv/Send MiddlewareBuilder.
WithPayloadCodec to set a payloadCodec that handle other payload which not support by kitex.
WithProxy sets the forward Proxy for client.
WithRecvMiddleware adds middleware for client to handle response.
WithRecvMiddlewareBuilder adds middleware that depend on a per-client context for client to handle response.
WithResolver provides the Resolver for kitex client.
WithSendMiddleware adds middleware for client to handle request.
WithSendMiddlewareBuilder adds middleware that depend on a per-client context for client to handle request.
WithStatsLevel sets the stats level for client.
WithSuite adds an option suite for client.
WithTag sets the customize tag for service discovery, eg: idc, cluster.
WithTracer adds a tracer to client.
WithWarmingUp forces the client to do some warm-ups at the end of the initialization.
WithXDSSuite is used to set the xds suite for the client.