Index
Functions
f
accepts
|
Returns an array of media types accepted by the request, in order of preference. If there are no media types supplied in the request, then any media type selector will be returned. |
Returns an array of content encodings accepted by the request, in order of
preference. If there are no encoding supplied in the request, then |
|
Returns an array of languages accepted by the request, in order of
preference. If there are no languages supplied in the request, then |
|
f
assert
|
Make an assertion, error will be thrown if |
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that actual is not null or undefined. If not then throw. |
|
Make an assertion, error will be thrown if |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Make an assertion that |
|
Executes a function which returns a promise, expecting it to reject. |
|
Make an assertion that |
|
Make an assertion that actual includes expected. If not then throw. |
|
Executes a function, expecting it to throw. If it does not, then it throws. |
|
Calculate an ETag for an entity. When the entity is a specific set of data it will be fingerprinted as a "strong" tag, otherwise if it is just file information, it will be calculated as a weak tag. |
|
Set the cookie header with empty value in the headers to delete it |
|
f
equal
|
Deep equality comparison used in assertions |
f
fail
|
Forcefully throws a failed assertion |
Parse cookies of a header |
|
Parse set-cookies of a header |
|
f
ifMatch
|
A helper function that takes the value from the |
A helper function that takes the value from the |
|
f
serve
|
|
f
serveTls
|
|
Set the cookie header properly in the headers |
|
Use this to stub out methods that will throw when invoked. |
|
Use this to assert unreachable code. |
Interfaces
I
Browser
|
|
I
ConnInfo
|
|
I
Cookie
|
|
I
Cpu
|
|
I
Device
|
|
I
Engine
|
|
I
FileInfo
|
Just the part of |
I
Os
|
|