waygraph / PageApi
Interface: PageApi
Defined in: src/engine/read/page-api.ts:6
Properties
baseUrl
baseUrl:
string
Defined in: src/engine/read/page-api.ts:8
Where the API is (http://localhost:3091).
headers?
optionalheaders?: (page) =>Record<string,string> |Promise<Record<string,string>>
Defined in: src/engine/read/page-api.ts:10
What signs a request, from the page's own session (its stored token): headers, per request.
Parameters
page
Page
Returns
Record<string, string> | Promise<Record<string, string>>