Dela via


AbstractHttpEntity.SetContentEncoding(String) Method

Definition

Specifies the Content-Encoding header, as a string.

[Android.Runtime.Register("setContentEncoding", "(Ljava/lang/String;)V", "GetSetContentEncoding_Ljava_lang_String_Handler")]
public virtual void SetContentEncoding (string? ceString);
[<Android.Runtime.Register("setContentEncoding", "(Ljava/lang/String;)V", "GetSetContentEncoding_Ljava_lang_String_Handler")>]
abstract member SetContentEncoding : string -> unit
override this.SetContentEncoding : string -> unit

Parameters

ceString
String

the new Content-Encoding header, or null to unset

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