UNPKG

@push.rocks/smartproxy

Version:

A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.

15 lines (14 loc) 643 B
import type { ICertificateData, ICertificateFailure, ICertificateExpiring } from './types.js'; /** * Subscribers callback definitions for Port80Handler events */ export interface Port80HandlerSubscribers { onCertificateIssued?: (data: ICertificateData) => void; onCertificateRenewed?: (data: ICertificateData) => void; onCertificateFailed?: (data: ICertificateFailure) => void; onCertificateExpiring?: (data: ICertificateExpiring) => void; } /** * Subscribes to Port80Handler events based on provided callbacks */ export declare function subscribeToPort80Handler(handler: any, subscribers: Port80HandlerSubscribers): void;