I'm using the HttpClient
and I need to set a non-standard type for the HttpMethod
. Where using HttpWebRequest
only expects a string, HttpClient
expects an HttpMethod
. Enumerating the available values in HttpMethod
, I don't see a way to add a custom one. Any thoughts?
Don't know why I didn't think of trying this before, but I can call new HttpMethod("MYMETHOD");