Type alias HttpRequest

HttpRequest: {
    body?: HttpBody;
    headers?: {
        [name: string]: string;
    };
    method: HttpMethods;
    url: string;
}

Type declaration

  • Optional body?: HttpBody
  • Optional headers?: {
        [name: string]: string;
    }
    • [name: string]: string
  • method: HttpMethods
  • url: string