HttpResponseExtensions class

Class HttpResponseExtensions.

public static class Microsoft.AspNetCore.Http.HttpResponseExtensions

Package: Korzh.EasyQuery.AspNetCore (targets: net5.0, netcoreapp3.1, netstandard2.0)

Assembly: Korzh.EasyQuery.AspNetCore.dll

Static Methods

Name Type Description
WriteJsonAsync(this HttpResponse response, object data) Task Serializes and object to JSON and writes it to the HTTP response.
WriteObjectAsync(this JsonWriter jsonWriter, object data) Task Serializes and object to JSON and writes it to the JsonWriter.
WriteResultSetAsync(this JsonWriter jsonWriter, IEqResultSet resultSet) Task Serializes result set to JSON and writes it to the JsonWriter.