Beispiel #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();
        }
Beispiel #2
0
 public ListenerContext(Stream stream, DefaultLogger logger)
 {
     request  = new ListenerRequest(stream, logger);
     response = new ListenerResponse(request, stream);
 }