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