Class HttpClient
Inheritance
System.Object
HttpClient
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.Client.dll
Syntax
public class HttpClient : BaseObject, IInternalBaseObject, IHttpClient, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
HttpClient(ICore)
Declaration
public HttpClient(ICore core)
Parameters
Type |
Name |
Description |
ICore |
core |
|
|
Improve this Doc
View Source
HttpClient(ICore, IntPtr, UInt32)
Declaration
public HttpClient(ICore core, IntPtr httpClientNativePointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
httpClientNativePointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
HttpClientNativePointer
Declaration
public IntPtr HttpClientNativePointer { get; }
Property Value
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
Connect(String, String)
Declaration
public async Task<HttpResponse> Connect(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
|
Improve this Doc
View Source
Delete(String, String)
Declaration
public async Task<HttpResponse> Delete(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
|
Improve this Doc
View Source
Get(String)
Declaration
public async Task<HttpResponse> Get(string url)
Parameters
Type |
Name |
Description |
System.String |
url |
|
Returns
|
Improve this Doc
View Source
Declaration
public Dictionary<string, string> GetExtraHeaders()
Returns
Type |
Description |
Dictionary<System.String, System.String> |
|
|
Improve this Doc
View Source
Head(String)
Declaration
public async Task<HttpResponse> Head(string url)
Parameters
Type |
Name |
Description |
System.String |
url |
|
Returns
|
Improve this Doc
View Source
Options(String, String)
Declaration
public async Task<HttpResponse> Options(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
|
Improve this Doc
View Source
Patch(String, String)
Declaration
public async Task<HttpResponse> Patch(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
|
Improve this Doc
View Source
Post(String, String)
Declaration
public async Task<HttpResponse> Post(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
|
Improve this Doc
View Source
Put(String, String)
Declaration
public async Task<HttpResponse> Put(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
|
Improve this Doc
View Source
Declaration
public void SetExtraHeader(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
|
Improve this Doc
View Source
Trace(String, String)
Declaration
public async Task<HttpResponse> Trace(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
Implements