mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
add more info about behavior of 0
This commit is contained in:
parent
c81497670e
commit
e28e681632
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ func WithWebsocketDialer(dialer websocket.Dialer) ClientOption {
|
|||
}
|
||||
|
||||
// WithWebsocketMessageSizeLimit configures the websocket message size limit used by the RPC
|
||||
// client.
|
||||
// client. Passing a limit of 0 means no limit.
|
||||
func WithWebsocketMessageSizeLimit(messageSizeLimit int64) ClientOption {
|
||||
return optionFunc(func(cfg *clientConfig) {
|
||||
cfg.wsMessageSizeLimit = &messageSizeLimit
|
||||
|
|
|
|||
Loading…
Reference in a new issue