예제 #1
0
        public ListenerResponseStream(ListenerRequest request,
                                      ListenerResponse response,
                                      Stream stream,
                                      int maxKeepAliveConnections)
        {
            this.request  = request;
            this.response = response;
            this.stream   = stream;
            this.maxKeepAliveConnections = maxKeepAliveConnections;

            streamBuffer = new MemoryStream();
        }
예제 #2
0
 public ListenerResponse(ListenerRequest request,
                         Stream stream)
 {
     headers      = new List <KeyValuePair <string, string> >();
     outputStream = new ListenerResponseStream(request, this, stream, 100);
 }
예제 #3
0
 public ListenerContext(Stream stream, DefaultLogger logger)
 {
     request  = new ListenerRequest(stream, logger);
     response = new ListenerResponse(request, stream);
 }