Injectable HTTP seam for notification providers.
Providers call post(url, body, headers) to issue their HTTP request. The default implementation (createDefaultNotificationHttp) delegates to web-standard fetch.
post(url, body, headers)
createDefaultNotificationHttp
fetch
0.1.0
Issues a POST request and returns a mapped response.
The target URL
The serialized body string
Headers to include
The mapped response
When the request fails
Injectable HTTP seam for notification providers.
Providers call
post(url, body, headers)to issue their HTTP request. The default implementation (createDefaultNotificationHttp) delegates to web-standardfetch.Since
0.1.0