58ca4e68db
- Go backend API with full CRUD for all modules (CRM, Sales, Finance, HR, Legal, Marketing, Support, Purchase, Inventory, Projects, Automation, Analytics) - Rust analytics service with parallel report generation - C runtime with POSIX shared memory IPC - PostgreSQL schema with 30+ tables, full migrations - Redis cache, sessions, pub/sub - Kafka event streaming with Zookeeper - WebSocket hub for real-time updates - Automation engine with cron jobs, workflows, event triggers - JWT authentication, multi-tenant from start - Docker Compose with all services - Nginx reverse proxy with rate limiting - Integration tests passing - Feature gap analysis against Fortnox/Odoo/Visma Refs: BOC-001
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
import { TlsOptions } from 'cloudflare:sockets';
|
|
import { EventEmitter } from 'events';
|
|
/**
|
|
* Wrapper around the Cloudflare built-in socket that can be used by the `Connection`.
|
|
*/
|
|
export declare class CloudflareSocket extends EventEmitter {
|
|
readonly ssl: boolean;
|
|
writable: boolean;
|
|
destroyed: boolean;
|
|
private _upgrading;
|
|
private _upgraded;
|
|
private _cfSocket;
|
|
private _cfWriter;
|
|
private _cfReader;
|
|
constructor(ssl: boolean);
|
|
setNoDelay(): this;
|
|
setKeepAlive(): this;
|
|
ref(): this;
|
|
unref(): this;
|
|
connect(port: number, host: string, connectListener?: (...args: unknown[]) => void): Promise<this | undefined>;
|
|
_listen(): Promise<void>;
|
|
_listenOnce(): Promise<void>;
|
|
write(data: Uint8Array | string, encoding?: BufferEncoding, callback?: (...args: unknown[]) => void): true | void;
|
|
end(data?: Buffer, encoding?: BufferEncoding, callback?: (...args: unknown[]) => void): this;
|
|
destroy(reason: string): this;
|
|
startTls(options: TlsOptions): void;
|
|
_addClosedHandler(): void;
|
|
}
|