Beispiel #1
0
 /// <summary>
 /// Creates an NntpWebResponse with the given status code
 /// </summary>
 /// <param name="status">The status code of the response</param>
 /// <param name="responseUri">The response URI.</param>
 internal NntpWebResponse(NntpStatusCode status, Uri responseUri)
 {
     this.statusCode  = status;
     this.responseUri = responseUri;
 }
Beispiel #2
0
 /// <summary>
 /// Creates an NntpWebResponse with the given status code and sets the response stream
 /// </summary>
 /// <param name="status">The status code of the response</param>
 /// <param name="stream">the response stream</param>
 /// <param name="responseUri">The response URI.</param>
 internal NntpWebResponse(NntpStatusCode status, Stream stream, Uri responseUri)
     : this(status, responseUri)
 {
     this.responseStream = stream;
 }