public IReceiveFilter <StringPackageInfo> CreateFilter(IAppServer appServer, IAppSession appSession, IPEndPoint remoteEndPoint) { var websocketContext = new WebSocketContext(appSession, appServer.BufferManager); return(new WebSocketHandshakeReceiveFilter(websocketContext)); }
/// <summary> /// Initializes a new instance of the <see cref="WebSocketPackageInfo"/> class. /// </summary> public WebSocketPackageInfo(IList <ArraySegment <byte> > rawData, WebSocketContext context) { }
/// <summary> /// Initializes a new instance of the <see cref="WebSocketPackageInfo"/> class. /// </summary> public WebSocketPackageInfo(IList<ArraySegment<byte>> rawData, WebSocketContext context) { }