JsonRpcRequestDispatcherDispatch Method |
Dispatches the HTTP request. Upon receipt of the response, ensures status codes are set in the response object.
Inspects any errors in the response for known/expected problems.
Namespace:
SolidFire.Core
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public Task<string> Dispatch(
string content,
CancellationToken cancellationToken
)
Parameters
- content
- Type: SystemString
The body of the request to POST - cancellationToken
- Type: System.ThreadingCancellationToken
A cancellation token to use, or CancellationToken.None
Return Value
Type:
TaskStringThe body of the response or throws an exception
Implements
IRpcRequestDispatcherDispatch(String, CancellationToken)See Also