Interface IHttpClient
Assembly: AltV.Net.Client.dll
Syntax
public interface IHttpClient : IBaseObject, ISharedBaseObject, INative
Properties
|
Improve this Doc
View Source
HttpClientNativePointer
Declaration
IntPtr HttpClientNativePointer { get; }
Property Value
Methods
|
Improve this Doc
View Source
Connect(String, String)
Declaration
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
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
Task<HttpResponse> Get(string url)
Parameters
Type |
Name |
Description |
System.String |
url |
|
Returns
|
Improve this Doc
View Source
Declaration
Dictionary<string, string> GetExtraHeaders()
Returns
Type |
Description |
Dictionary<System.String, System.String> |
|
|
Improve this Doc
View Source
Head(String)
Declaration
Task<HttpResponse> Head(string url)
Parameters
Type |
Name |
Description |
System.String |
url |
|
Returns
|
Improve this Doc
View Source
Options(String, String)
Declaration
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
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
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
Task<HttpResponse> Put(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns
|
Improve this Doc
View Source
Declaration
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
Task<HttpResponse> Trace(string url, string body)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
body |
|
Returns