Skip to content

Core\Test\SentRequest

One HTTP request your program sent to a fake web service in a test. Core\Test::sentHttp returns a list of them. method(), url(), header() and body() return what the program sent. You cannot create one yourself.

Members

4 members.

MemberSignature
methodmethod(): Core\Http\Method
urlurl(): string
headerheader(string $name): ?string
bodybody(): bytes