Function makeFetchTransport
- makeFetchTransport(options, nativeFetch?): Transport
-
Parameters
-
options: BrowserTransportOptions
-
Optional
nativeFetch: ((input, init?) => Promise<Response>)
-
- (input, init?): Promise<Response>
-
Parameters
-
input: RequestInfo | URL
-
Optional
init: RequestInit
Returns Promise<Response>
Returns Transport
Creates a Transport that uses the Fetch API to send events to Sentry.