http2byond
Version:
Communication layer between node.js and BYOND game servers.
10 lines (9 loc) • 453 B
TypeScript
/// <reference types="node" />
import { Socket } from 'net';
import { SingleRunConfiguration, SocketConfig, TopicConnection, TopicReturnType } from './types';
/**
* @internal
*/
export declare function _sendTopic(socket: Socket, _topic: string): Promise<TopicReturnType>;
export declare function sendTopic(config: SingleRunConfiguration): Promise<TopicReturnType>;
export declare function createTopicConnection(config: SocketConfig): TopicConnection;