@mojojs/core
Version:
Real-time web framework
14 lines (13 loc) • 526 B
TypeScript
import type { UserAgentRequestOptions } from '../../types.js';
import type http from 'node:http';
import type { URL } from 'node:url';
import https from 'node:https';
import { HTTPTransport } from './http.js';
/**
* HTTPS transport class.
*/
export declare class HTTPSTransport extends HTTPTransport {
agent: https.Agent;
_prepareOptions(config: UserAgentRequestOptions): https.RequestOptions;
_sendRequest(url: URL, options: https.RequestOptions, cb: (res: http.IncomingMessage) => void): http.ClientRequest;
}