Learn R Programming

ambiorix (version 2.1.0)

mockRequest: Mock Request

Description

Mock a request, used for tests.

Usage

mockRequest(cookie = "", query = "", path = "/")

Arguments

cookie

Cookie string.

query

Query string.

path

Path string.

Examples

Run this code
# NOT RUN {
mockRequest()

# }

Run the code above in your browser using DataLab