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