Factory for making ServerRequest instances. This adds in UIM specific behavior to populate the basePath and webroot attributes. Furthermore the Uri`s path is corrected to only contain the 'virtual' path for the request.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
ServerRequest | ServerRequest marshalBodyAndRequestMethod(Json[string] parsedBody, ServerRequest serverRequest) | ||||
IServerRequest | IServerRequest createServerRequest(string httpMethod, string uri, Json[string] serverOptions = null) | ||||
IServerRequest | IServerRequest createServerRequest(string httpMethod, IUri uri, Json[string] serverOptions = null) | ||||
ServerRequest | ServerRequest marshalFiles(Json[string] files, DServerRequest serverRequest) |