Skip to content

Commit

Permalink
Merge pull request #675 from Alexey-Yuferov/series/0.5
Browse files Browse the repository at this point in the history
NettyServerBuilder withWebSocketMaxFrameLength method
  • Loading branch information
hamnis committed Jun 7, 2024
2 parents 6160de2 + 71209db commit edf65c4
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 edf65c4

Please sign in to comment.