DownloadManager.Request.AddRequestHeader(String, 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.
Add an HTTP header to be included with the download request.
[Android.Runtime.Register("addRequestHeader", "(Ljava/lang/String;Ljava/lang/String;)Landroid/app/DownloadManager$Request;", "GetAddRequestHeader_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Android.App.DownloadManager.Request? AddRequestHeader (string? header, string? value);
[<Android.Runtime.Register("addRequestHeader", "(Ljava/lang/String;Ljava/lang/String;)Landroid/app/DownloadManager$Request;", "GetAddRequestHeader_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member AddRequestHeader : string * string -> Android.App.DownloadManager.Request
override this.AddRequestHeader : string * string -> Android.App.DownloadManager.Request
Parameters
- header
- String
HTTP header name
- value
- String
header value
Returns
- Attributes
Remarks
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.