Request.this

This constructor creates a GET request, with the root URI ("/") and an empty body.

class Request
this
(
const(char)[] uri = "/"
,,
const(char)[] requestBody = ""
)

Parameters

uri const(char)[]

Target URI

method Method

Method to use for the request

requestBody const(char)[]

Content of the request's body

Meta