mockRequest {ambiorix} | R Documentation |
Mock Request
Description
Mock a request, used for tests.
Usage
mockRequest(cookie = "", query = "", path = "/")
Arguments
cookie |
Cookie string. |
query |
Query string. |
path |
Path string. |
Value
A Request
object.
Examples
mockRequest()
[Package ambiorix version 2.2.0 Index]