xud
Version:
Exchange Union Daemon
14 lines (13 loc) • 516 B
TypeScript
import Packet, { PacketDirection, ResponseType } from '../Packet';
import PacketType from '../PacketType';
import * as pb from '../../../proto/xudp2p_pb';
declare class PingPacket extends Packet<undefined> {
get type(): PacketType;
get direction(): PacketDirection;
get responseType(): ResponseType;
static deserialize: (binary: Uint8Array) => PingPacket | pb.PingPacket.AsObject;
private static validate;
private static convert;
serialize: () => Uint8Array;
}
export default PingPacket;