BidirectionalStream.Builder.SetHttpMethod(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the HTTP method for the request.
[Android.Runtime.Register("setHttpMethod", "(Ljava/lang/String;)Landroid/net/http/BidirectionalStream$Builder;", "GetSetHttpMethod_Ljava_lang_String_Handler", ApiSince=34)]
public abstract Android.Net.Http.BidirectionalStream.Builder SetHttpMethod(string method);
[<Android.Runtime.Register("setHttpMethod", "(Ljava/lang/String;)Landroid/net/http/BidirectionalStream$Builder;", "GetSetHttpMethod_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member SetHttpMethod : string -> Android.Net.Http.BidirectionalStream.Builder
Parameters
- method
- String
the method to use for request. Default is 'POST'. This value cannot be null.
Returns
the builder to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Sets the HTTP method for the request. Returns builder to facilitate chaining.
Android reference for android.net.http.BidirectionalStream.Builder.setHttpMethod.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.