Nakama .NET Client SDK 3.8.0
Nakama .NET Client SDK
|
An adapter which implements the HTTP protocol. More...
Public Member Functions | |
Task< string > | SendAsync (string method, Uri uri, IDictionary< string, string > headers, byte[] body, int timeoutSec=3, CancellationToken? userCancelToken=null) |
Send a HTTP request. | |
Properties | |
TransientExceptionDelegate | TransientExceptionDelegate [get] |
ILogger | Logger [get, set] |
The logger to use with the adapter. | |
An adapter which implements the HTTP protocol.
Task< string > Nakama.IHttpAdapter.SendAsync | ( | string | method, |
Uri | uri, | ||
IDictionary< string, string > | headers, | ||
byte[] | body, | ||
int | timeoutSec = 3 , |
||
CancellationToken? | userCancelToken = null |
||
) |
Send a HTTP request.
method | HTTP method to use for this request. |
uri | The fully qualified URI to use. |
headers | Request headers to set. |
body | Request content body to set. |
timeoutSec | Request timeout. |
userCancelToken | A user-generated token that can be used to cancel the request. |
Implemented in Nakama.HttpRequestAdapter.
|
getset |
The logger to use with the adapter.
Implemented in Nakama.HttpRequestAdapter.
|
get |
Implemented in Nakama.HttpRequestAdapter.