Construct a new TextResponse.
The plain text body of the response.
OptionalstatusCode: number = 200The HTTP response status code to send.
Optionalheaders: HeadersInitThe HTTP response headers to send.
Protected ReadonlybufferFetch the buffer to send in the response body.
Protected ReadonlyheadersThe HTTP response headers to send.
ReadonlystatusThe HTTP response status code to send.
An HTTP response with a plain text body.