コード例 #1
0
 /// <summary>
 /// Two HTTP response layers are equal iff they have the same version, header, body, status code and reason phrase.
 /// </summary>
 public override bool Equals(HttpLayer other)
 {
     return(Equals(other as HttpResponseLayer));
 }
コード例 #2
0
 /// <summary>
 /// Two HTTP Request layers are equal iff they have the same version, header, body, method and uri.
 /// </summary>
 public override bool Equals(HttpLayer other)
 {
     return(Equals(other as HttpRequestLayer));
 }