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(); }
public ListenerResponse(ListenerRequest request, Stream stream) { headers = new List <KeyValuePair <string, string> >(); outputStream = new ListenerResponseStream(request, this, stream, 100); }
public ListenerContext(Stream stream, DefaultLogger logger) { request = new ListenerRequest(stream, logger); response = new ListenerResponse(request, stream); }