Skip to content

Commit

Permalink
NettyServerBuilder withWebSocketMaxFrameLength method
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-Yuferov committed Jun 6, 2024
1 parent c563783 commit 71209db
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ final class NettyServerBuilder[F[_]] private (
copy(serviceErrorHandler = handler)
def withNettyChannelOptions(opts: NettyChannelOptions): Self =
copy(nettyChannelOptions = opts)
def withWebSocketMaxFrameLength(wsMaxFrameLength: Int): Self =
copy(wsMaxFrameLength = wsMaxFrameLength)
def withWebSocketCompression: Self = copy(wsCompression = true)
def withoutWebSocketCompression: Self = copy(wsCompression = false)

Expand Down

0 comments on commit 71209db

Please sign in to comment.