@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.
32 lines (31 loc) • 821 B
TypeScript
/**
* Fragment Manager for Detection Module
*
* Manages fragmented protocol data using the shared fragment handler
*/
import { FragmentHandler } from '../../protocols/common/fragment-handler.js';
import type { IConnectionContext } from '../../protocols/common/types.js';
/**
* Detection-specific fragment manager
*/
export declare class DetectionFragmentManager {
private tlsFragments;
private httpFragments;
constructor();
/**
* Get fragment handler for protocol type
*/
getHandler(protocol: 'tls' | 'http'): FragmentHandler;
/**
* Create connection ID from context
*/
static createConnectionId(context: IConnectionContext): string;
/**
* Clean up all handlers
*/
cleanup(): void;
/**
* Destroy all handlers
*/
destroy(): void;
}