private WebSocketDecoderConfig.Builder DecoderConfigBuilder() { if (_decoderConfigBuilder is null) { _decoderConfigBuilder = _decoderConfig.ToBuilder(); } return(_decoderConfigBuilder); }
/// <summary> /// Frames decoder configuration. /// </summary> public Builder DecoderConfig(WebSocketDecoderConfig decoderConfig) { _decoderConfig = decoderConfig ?? WebSocketDecoderConfig.Default; _decoderConfigBuilder = null; return(this); }