Android.Net.Http.AndroidHttpClient.NewInstance Method
Create a new HttpClient with reasonable defaults (which you can update).

Syntax

[Android.Runtime.Register("newInstance", "(Ljava/lang/String;Landroid/content/Context;)Landroid/net/http/AndroidHttpClient;", "")]
public static AndroidHttpClient NewInstance (string userAgent, Android.Content.Context context)

Parameters

userAgent
to report in your HTTP requests
context
to use for caching SSL sessions (may be null for no caching)

Returns

Documentation for this section has not yet been entered.

Remarks

Create a new HttpClient with reasonable defaults (which you can update).

[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