Class IHttpResponseExtensions
Defines some extenions against the IHttpResponse interface.
Inherited Members
Namespace: Solti.Utils.Rpc
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
public static class IHttpResponseExtensions
Methods
WriteResponseString(IHttpResponse, String, CancellationToken)
Writes the given responseString to the response.
Declaration
public static async Task WriteResponseString(this IHttpResponse response, string responseString, CancellationToken cancellation = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| IHttpResponse | response | |
| String | responseString | |
| CancellationToken | cancellation |
Returns
| Type | Description |
|---|---|
| Task |