Android.Net.Http.AndroidHttpClient.GetCompressedEntity Method
Compress data to send to server.

Syntax

[Android.Runtime.Register("getCompressedEntity", "([BLandroid/content/ContentResolver;)Lorg/apache/http/entity/AbstractHttpEntity;", "")]
public static Org.Apache.Http.Entity.AbstractHttpEntity GetCompressedEntity (byte[] data, Android.Content.ContentResolver resolver)

Parameters

data
The bytes to compress
resolver
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Compress data to send to server. Creates a Http Entity holding the gzipped data. The data will not be compressed if it is too short.

[Android Documentation]

Requirements

Namespace: Android.Net.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8