ClientParamBean.SetDefaultHeaders(ICollection<IHeader>) Method

Definition

Sets the request headers sent by default with each request.

[Android.Runtime.Register("setDefaultHeaders", "(Ljava/util/Collection;)V", "GetSetDefaultHeaders_Ljava_util_Collection_Handler")]
public virtual void SetDefaultHeaders(System.Collections.Generic.ICollection<Org.Apache.Http.IHeader>? headers);
[<Android.Runtime.Register("setDefaultHeaders", "(Ljava/util/Collection;)V", "GetSetDefaultHeaders_Ljava_util_Collection_Handler")>]
abstract member SetDefaultHeaders : System.Collections.Generic.ICollection<Org.Apache.Http.IHeader> -> unit
override this.SetDefaultHeaders : System.Collections.Generic.ICollection<Org.Apache.Http.IHeader> -> unit

Parameters

headers
ICollection<IHeader>

The headers sent by default with each request.

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.

Applies to