httpHeaders

Environment: Browser.

Send additional HTTP headers to be sent along Telefunc HTTP requests.

Usually used for sending authentication headers.

// Environment: Browser

import { config } from 'telefunc/client'

config.httpHeaders = {
  Authorization: `Bearer ${token}`
}