📄️ Melon.http.fetch(resource, options)
Starts the process of fetching a resource from the network, returning a promise which is fulfilled once the response is available.
📄️ Melon.http.request(resource, method, body, headers)
Requests an external resource.
📄️ Melon.http.requestAsync(resource, method, body, headers)
Requests an external resource.
📄️ Melon.http.result(statusCode, responseBody, responseHeaders?)
Creates a result object with a specfic status code, response body and headers to be used as result of a HttpApplication endpoint.
📄️ Melon.http.static(responseBody, mimeType, responseHeaders?)
Creates a result object with a static content, response body and headers to be used as result of a http application endpoint.
📄️ Melon.http.app(options?)
Creates a HttpApplication object, used to configure a web api that can be directly based on REST principles.
📄️ Melon.http.HttpApplication (class)
Http application object, used to run a web api that can be directly based on REST principles.