fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Server / RequestHeaders

Interface: RequestHeaders

Defines the headers to include in the HTTP request.

This interface represents an object where the keys are header names and the values are header values.

Example:

const headers: RequestHeaders = {
  'Authorization': 'Bearer token',
  'Accept': 'application/json'
};

Indexable

[key: string]: string