a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Server / 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'
};
[key
: string
]: string