PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/channel
Просмотр файла: Channel.d.ts
/**
* @param {Uint8Array} data
* @returns {ArrayBuffer}
*/
export function encodeRequest(data: Uint8Array): ArrayBuffer;
/**
* @param {ArrayBuffer} data
* @param {number} byteOffset
* @param {number} byteLength
* @returns {Uint8Array}
*/
export function decodeUnaryResponse(data: ArrayBuffer, byteOffset?: number, byteLength?: number): Uint8Array;
/**
* @internal
* @abstract
*/
export default class Channel {
/**
* @protected
* @type {?HashgraphProto.proto.CryptoService}
*/
protected _crypto: HashgraphProto.proto.CryptoService | null;
/**
* @protected
* @type {?HashgraphProto.proto.SmartContractService}
*/
protected _smartContract: HashgraphProto.proto.SmartContractService | null;
/**
* @protected
* @type {?HashgraphProto.proto.FileService}
*/
protected _file: HashgraphProto.proto.FileService | null;
/**
* @protected
* @type {?HashgraphProto.proto.ConsensusService}
*/
protected _consensus: HashgraphProto.proto.ConsensusService | null;
/**
* @protected
* @type {?HashgraphProto.proto.FreezeService}
*/
protected _freeze: HashgraphProto.proto.FreezeService | null;
/**
* @protected
* @type {?HashgraphProto.proto.NetworkService}
*/
protected _network: HashgraphProto.proto.NetworkService | null;
/**
* @protected
* @type {?HashgraphProto.proto.TokenService}
*/
protected _token: HashgraphProto.proto.TokenService | null;
/**
* @protected
* @type {?HashgraphProto.proto.ScheduleService}
*/
protected _schedule: HashgraphProto.proto.ScheduleService | null;
/**
* @protected
* @type {?HashgraphProto.proto.UtilService}
*/
protected _util: HashgraphProto.proto.UtilService | null;
/**
* @abstract
* @returns {void}
*/
close(): void;
/**
* @returns {HashgraphProto.proto.CryptoService}
*/
get crypto(): HashgraphProto.proto.CryptoService;
/**
* @returns {HashgraphProto.proto.SmartContractService}
*/
get smartContract(): HashgraphProto.proto.SmartContractService;
/**
* @returns {HashgraphProto.proto.FileService}
*/
get file(): HashgraphProto.proto.FileService;
/**
* @returns {HashgraphProto.proto.ConsensusService}
*/
get consensus(): HashgraphProto.proto.ConsensusService;
/**
* @returns {HashgraphProto.proto.FreezeService}
*/
get freeze(): HashgraphProto.proto.FreezeService;
/**
* @returns {HashgraphProto.proto.NetworkService}
*/
get network(): HashgraphProto.proto.NetworkService;
/**
* @returns {HashgraphProto.proto.TokenService}
*/
get token(): HashgraphProto.proto.TokenService;
/**
* @returns {HashgraphProto.proto.ScheduleService}
*/
get schedule(): HashgraphProto.proto.ScheduleService;
/**
* @returns {HashgraphProto.proto.UtilService}
*/
get util(): HashgraphProto.proto.UtilService;
/**
* @abstract
* @protected
* @param {string} serviceName
* @returns {import("protobufjs").RPCImpl}
*/
protected _createUnaryClient(serviceName: string): import("protobufjs").RPCImpl;
}
import * as HashgraphProto from "@hashgraph/proto";
declare const proto: typeof HashgraphProto.proto;
export {};
Выполнить команду
Для локальной разработки. Не используйте в интернете!