public static Client websocket ( ClientSettings clientSettings ) { WebsocketClientCodec clientCodec = new WebsocketClientCodec ( DataCodec . getInstance ( clientSettings . contentType ( ) ) ) ; WebsocketClientTransport clientTransport = new WebsocketClientTransport ( clientSettings , clientCodec , clientSettings . loopResources ( ) ) ; return new Client ( clientTransport , clientCodec , clientSettings . errorMapper ( ) ) ; }
Client on websocket client transport .