RequestFn: (
url: string,
callback: (err: string | null, body?: string) => void,
) => void
Type Declaration
-
- (url: string, callback: (err: string | null, body?: string) => void): void
-
Parameters
- url: string
- callback: (err: string | null, body?: string) => void
Returns void
An HTTP GET the caller supplies, so the specs can swap in a fake.