createTestHTTPServerRequest

Creates a HTTPServerRequest suitable for writing unit tests.

  1. HTTPServerRequest createTestHTTPServerRequest(URL url, HTTPMethod method, InputStream data)
    @safe
    createTestHTTPServerRequest
    (,
    HTTPMethod method = HTTPMethod.GET
    ,
    InputStream data = null
    )
  2. HTTPServerRequest createTestHTTPServerRequest(URL url, HTTPMethod method, InetHeaderMap headers, InputStream data)

Meta