vibe-d v0.9.8-alpha.3 (2023-10-20T08:14:46Z)
Home
Dub
Repo
createTestHTTPServerRequest
index
vibe
http
server
Creates a HTTPServerRequest suitable for writing unit tests.
HTTPServerRequest
createTestHTTPServerRequest
(URL url, HTTPMethod method, InputStream data)
@
safe
HTTPServerRequest
createTestHTTPServerRequest
(
URL
url
,
HTTPMethod
method
=
HTTPMethod.GET
,
InputStream
data
= null
)
HTTPServerRequest
createTestHTTPServerRequest
(URL url, HTTPMethod method, InetHeaderMap headers, InputStream data)
Meta
Source
See Implementation
index
vibe
http
server
aliases
HTTPServerErrorPageHandler
HTTPServerRequestDelegate
HTTPServerRequestDelegateS
HTTPServerRequestFunction
HTTPServerRequestFunctionS
RejectConnectionPredicate
classes
HTTPServerContext
HTTPServerErrorInfo
HTTPServerRequest
HTTPServerResponse
HTTPServerSettings
enums
HTTPServerOption
SessionOption
TestHTTPResponseMode
functions
createTestHTTPServerRequest
createTestHTTPServerResponse
handleHTTPConnection
listenHTTP
setVibeDistHost
staticRedirect
interfaces
HTTPServerRequestHandler
HTTPServerRequestHandlerS
properties
render
staticTemplate
structs
DefaultDietFilters
HTTPListener
Creates a HTTPServerRequest suitable for writing unit tests.