HttpResponseExtensions.

WriteJsonAsync<T>(HttpResponse, T) Method

Syntax

public static Task WriteJsonAsync<T>(this HttpResponse self, T item)

Type Parameters

Name Description
T

Parameters

Name Type Description
self HttpResponse
item T

Return Value

Type Description
Task