Ejemplo n.º 1
0
 /// <summary>
 /// Returns the verb of the request: GET, POST, PUT, DELETE, and so forth.
 /// </summary>
 public static HttpVerb Verb(this HttpListenerContext context)
 {
     return(HttpVerb.Create(context.Request.HttpMethod.ToUpper()));
 }