UNPKG

@bmqube/xmlrpc

Version:

A pure TypeScript XML-RPC client and server. Forked from (https://github.com/baalexander/node-xmlrpc)

31 lines (30 loc) 1.18 kB
import Client, { type ClientOptions } from "./client.mjs"; import Server, { type ServerInitOptions } from "./server.mjs"; import CustomType from "./customtype.mjs"; import dateFormatter, { DateFormatter as DateFormatterClass } from "./date_formatter.mjs"; /** * Creates an XML-RPC client (HTTP). */ export declare function createClient(options: ClientOptions): Client; /** * Creates an XML-RPC client (HTTPS). */ export declare function createSecureClient(options: ClientOptions): Client; /** * Creates an XML-RPC server (HTTP). */ export declare function createServer(options: ServerInitOptions, callback?: () => void): Server; /** * Creates an XML-RPC server (HTTPS). */ export declare function createSecureServer(options: ServerInitOptions, callback?: () => void): Server; export { Client, Server, CustomType, dateFormatter, DateFormatterClass as DateFormatter }; declare const _default: { createClient: typeof createClient; createSecureClient: typeof createSecureClient; createServer: typeof createServer; createSecureServer: typeof createSecureServer; CustomType: typeof CustomType; dateFormatter: DateFormatterClass; }; export default _default;