UNPKG

xud

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