Skip to content

Opensearch dashboards.customhttpresponseoptions

Home > opensearch-dashboards > CustomHttpResponseOptions

CustomHttpResponseOptions interface

HTTP response parameters for a response with adjustable status code.

Signature:

export interface CustomHttpResponseOptions<T extends HttpResponsePayload | ResponseError> 

Properties

Property Type Description
body? T (Optional) HTTP message to send to the client
headers? ResponseHeaders (Optional) HTTP Headers with additional information about response
statusCode number