Esempio 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();
 }
Esempio 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();
 }