Class IHttpResponseExtensions

Defines some extenions against the IHttpResponse interface.

Inheritance
Object
IHttpResponseExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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
In This Article
Back to top Generated by DocFX