@aptpod/iscp-ts
Version:
iSCP 2.0 client library for TypeScript
35 lines (34 loc) • 719 B
TypeScript
/**
* エンコーディングの名前です。
* @category Enum
* @enum
*/
export declare const ENCODING_NAME: {
/**
* ProtocolBuffer。
*/
readonly PROTOBUF: "proto";
/**
* JSON。
*/
readonly JSON: "json";
};
/**
* {@link ENCODING_NAME}の型です。
* @category Enum
*/
export type EncodingName = (typeof ENCODING_NAME)[keyof typeof ENCODING_NAME];
/**
* ネゴシエーションパラメータを表します。
* @category Connector
*/
export declare class NegotiationParams {
/**
* エンコーディング名です。
*/
enc: EncodingName;
/**
* URLパラメータにエンコードします。
*/
encodeURLValues(): string;
}