Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebSocketTokenClient"/> class.
 /// </summary>
 public WebSocketTokenClient()
 {
     SubProtocol = new WebSocketSubProtocol(WebSocketConstants.WS_SUBPROT_JSON, WebSocketEncoding.TEXT);
     _tokenProcessor = new JSONTokenProcessor();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebSocketTokenClient"/> class.
 /// </summary>
 public WebSocketTokenClient()
 {
     SubProtocol     = new WebSocketSubProtocol(WebSocketConstants.WS_SUBPROT_JSON, WebSocketEncoding.TEXT);
     _tokenProcessor = new JSONTokenProcessor();
 }