@graphty/graphty-element / index / Recording
Interface: Recording ​
Defined in: graph-io/dist/src/sources/testing.d.ts:10
One recorded exchange. Experimental.
Properties ​
body? ​
readonlyoptionalbody?:unknown
Defined in: graph-io/dist/src/sources/testing.d.ts:28
The response body: text, or a value sent as JSON.
credential? ​
readonlyoptionalcredential?:boolean
Defined in: graph-io/dist/src/sources/testing.d.ts:22
true: the request must carry a credential; false: it must not. Absent: either. A credential is an Authorization header, or a header or query parameter named in secretHeaders / secretQuery; its value is never compared.
headers? ​
readonlyoptionalheaders?:Readonly<Record<string,string>>
Defined in: graph-io/dist/src/sources/testing.d.ts:26
The response headers.
method? ​
readonlyoptionalmethod?:string
Defined in: graph-io/dist/src/sources/testing.d.ts:12
The request method.
Default Value ​
"GET"requestBody? ​
readonlyoptionalrequestBody?:string
Defined in: graph-io/dist/src/sources/testing.d.ts:16
The request body, when it must match (JSON bodies compare as JSON).
status? ​
readonlyoptionalstatus?:number
Defined in: graph-io/dist/src/sources/testing.d.ts:24
The response status.
Default Value ​
200url ​
readonlyurl:string
Defined in: graph-io/dist/src/sources/testing.d.ts:14
The request URL. Query parameters match in any order.