Exemplo n.º 1
0
        public void raiseConnectionEvent(object[] args)
        {
            NetStream stream = ( NetStream )args[0];

            Console.WriteLine("http.server.raiseConnectionEvent()");
            Console.WriteLine("http.server.raiseConnectionEvent() - calling " + connectionCallbacks.Count + " callbacks");

            // TODO; update to use locals here - won't work for multiple outstanding requests
            req  = new HttpServerRequest(stream, Env);
            resp = new HttpServerResponse(stream, Env);
            req.ParseHeaders(raiseConnectionEventCont);
        }
Exemplo n.º 2
0
		public void raiseConnectionEvent( object[] args ) {
			NetStream stream = ( NetStream )args[0];
			Console.WriteLine( "http.server.raiseConnectionEvent()" );
			Console.WriteLine( "http.server.raiseConnectionEvent() - calling " + connectionCallbacks.Count + " callbacks" );
			
			// TODO; update to use locals here - won't work for multiple outstanding requests
            req = new HttpServerRequest( stream, Env );
			resp = new HttpServerResponse( stream, Env );
			req.ParseHeaders( raiseConnectionEventCont );
		}