git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

http_request.d.ts (804B)


      1 import {Endpoint} from './endpoint';
      2 /**
      3  * The low level HTTP request object, encapsulating all HTTP header and body data sent by a service request.
      4  */
      5 export class HttpRequest {
      6     /**
      7      * The part of the path excluding the query string.
      8      */
      9     pathname(): string;
     10     /**
     11      * The query string portion of the path.
     12      */
     13     search: string;
     14     /**
     15      * The request body payload.
     16      */
     17     body: string;
     18     /**
     19      * The endpoint for the request.
     20      */
     21     endpoint: Endpoint;
     22     /**
     23      * A map of header keys and their respective values.
     24      */
     25     headers: {
     26         [key: string]: string;
     27     }
     28     /**
     29      * The HTTP method of the request.
     30      */
     31     method: string;
     32     /**
     33      * The path portion of the URI, e.g., "/list/?start=5&num=10".
     34      */
     35     path: string;
     36 }