Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 937 Bytes

audits_server.ServerAuditOptions.md

File metadata and controls

41 lines (23 loc) · 937 Bytes

graphql-http / audits/server / ServerAuditOptions

Interface: ServerAuditOptions

audits/server.ServerAuditOptions

Options for server audits required to check GraphQL over HTTP spec conformance.

Table of contents

Properties

Properties

fetchFn

Optional fetchFn: unknown

The Fetch function to use.

For NodeJS environments consider using @whatwg-node/fetch.

Default

global.fetch

url

url: string | Promise<string> | () => string | Promise<string>

The URL of the GraphQL server for the audit.

A function can be also supplied, in this case - every audit will invoke the function to get the URL.