createTestHTTPServerRequest

Creates a HTTPServerRequest suitable for writing unit tests.

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

Meta