///
///
import { IHTTPRequest } from "../interfaces/IHTTPRequest";
import { HTTPMethod } from "./HTTPMethod";
import { HTTPVersion } from "./HTTPVersion";
export declare class CTTPRequest implements IHTTPRequest {
private method;
private url;
private headers;
private body;
private timeout;
private version;
private tunnel;
private query;
private path;
private host;
private port;
private protocol;
private chunked;
private priority;
private id;
private timestamp;
private retries;
private compress;
private encrypt;
private credentials;
private cookieJar;
private cacheControl;
private etag;
private ifMatch;
private ifNoneMatch;
private range;
private contentLength;
private contentType;
private accept;
private acceptEncoding;
private acceptLanguage;
private userAgent;
private referer;
private origin;
private authorization;
private connection;
private upgrade;
private constants;
constructor(method: HTTPMethod, url: string, options?: any);
private generateId;
private applyOptions;
private parseURL;
private buildHeaders;
getMethod(): HTTPMethod;
setMethod(method: HTTPMethod): void;
getURL(): string;
getHeaders(): Map;
setHeaders(headers: Map): void;
getBody(): any;
setBody(body: any): void;
getTimeout(): number;
setTimeout(timeout: number): void;
getVersion(): HTTPVersion;
setVersion(version: HTTPVersion): void;
getTunnel(): boolean;
setTunnel(tunnel: boolean): void;
getQuery(): Map;
setQuery(query: Map): void;
getPath(): string;
getHost(): string;
getPort(): number;
getProtocol(): string;
getChunked(): boolean;
getPriority(): number;
getId(): string;
getTimestamp(): number;
getRetries(): number;
incrementRetries(): void;
getCompress(): boolean;
getEncrypt(): boolean;
getCredentials(): any;
getCookieJar(): any;
getCacheControl(): string;
getETag(): string;
getIfMatch(): string;
getIfNoneMatch(): string;
getRange(): string;
getContentLength(): number;
getContentType(): string;
getAccept(): string;
getAcceptEncoding(): string;
getAcceptLanguage(): string;
getUserAgent(): string;
getReferer(): string;
getOrigin(): string;
getAuthorization(): string;
getConnection(): string;
getUpgrade(): string;
toBuffer(): Buffer;
clone(): CTTPRequest;
}
//# sourceMappingURL=CTTPRequest.d.ts.map