package headers

import "github.com/bugsnag/bugsnag-go/v2/headers"

Index

Functions

func PrefixedHeaders

func PrefixedHeaders(apiKey, payloadVersion string) map[string]string

PrefixedHeaders returns a map of Content-Type and the 'Bugsnag-' headers for API key, payload version, and the time at which the request is being sent.

Source Files

prefixed.go

Version
v2.5.1 (latest)
Published
Oct 21, 2024
Platform
js/wasm
Imports
1 packages
Last checked
1 day ago

Tools for package owners.