コード例 #1
0
        public IReceiveFilter <StringPackageInfo> CreateFilter(IAppServer appServer, IAppSession appSession, IPEndPoint remoteEndPoint)
        {
            var websocketContext = new WebSocketContext(appSession, appServer.BufferManager);

            return(new WebSocketHandshakeReceiveFilter(websocketContext));
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebSocketPackageInfo"/> class.
 /// </summary>
 public WebSocketPackageInfo(IList <ArraySegment <byte> > rawData, WebSocketContext context)
 {
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WebSocketPackageInfo"/> class.
 /// </summary>
 public WebSocketPackageInfo(IList<ArraySegment<byte>> rawData, WebSocketContext context)
 {
               
 }