Exemplo n.º 1
0
 public ResponseHandshake(HttpStatusCode code)
 {
     StatusCode = ((int)code).ToString();
     Reason     = Ext.GetDescription(code);
 }
Exemplo n.º 2
0
 private bool tryCreateUri(string uriString, out Uri result, out string message)
 {
     return(Ext.TryCreateWebSocketUri(uriString, out result, out message));
 }
Exemplo n.º 3
0
 private void onOpen()
 {
     _readyState = WsState.OPEN;
     startMessageLoop();
     Ext.Emit(OnOpen, this, EventArgs.Empty);
 }
Exemplo n.º 4
0
 public bool HeaderExists(string name, string value)
 {
     return(Ext.Exists(Headers, name, value));
 }