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] |
A delegate used to determine whether or not an error from the server is due to a temporary bad state on the server (i.e., is 'transient'). | |
ILogger | Logger [get, set] |
The logger to use with the adapter. | |
An adapter which implements the HTTP protocol.
Task< string > Satori.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 Satori.HttpRequestAdapter.
|
getset |
The logger to use with the adapter.
Implemented in Satori.HttpRequestAdapter.
|
get |
A delegate used to determine whether or not an error from the server is due to a temporary bad state on the server (i.e., is 'transient').
Implemented in Satori.HttpRequestAdapter.