HttpResponseMessage Interface

Definition

An HttpResponseMessage instance is returned by Azure Functions methods that are triggered by an HttpTrigger.

public interface HttpResponseMessage

Methods

getBody()

Returns the body of the HTTP response.

getHeader(String key)

Returns a header value for the given key.

getStatus()

Returns the HTTP status code set on the HttpResponseMessage instance.

getStatusCode()

Returns the HTTP status code set on the HttpResponseMessage instance.

Applies to