Class protowrap

Hierarchy

  • protowrap

Constructors

Properties

defaultprotocol: clientType = "pipe"
grpc_server_options: ChannelOptions = ...
openiap_proto: ProtobufTypeDefinition | ServiceClientConstructor | GrpcObject
protoRoot: any

Methods

  • Parameters

    • client: client
    • onClientDisconnected: any
    • error: string | Error

    Returns void

  • Parameters

    • command: string

    Returns string

  • Parameters

    • client: client
    • stream: any
    • payload: any

    Returns Promise<unknown>

  • Parameters

    • client: client
    • id: string
    • collectionname: string
    • filename: string
    • folder: string
    • highWaterMark: number

    Returns Promise<DownloadResponse>

  • Parameters

    • client: client
    • rid: string
    • filename: string
    • highWaterMark: number

    Returns Promise<unknown>

  • Parameters

    Returns [string, Promise<any>]

  • Parameters

    • url: any

    Returns Promise<unknown>

  • Parameters

    • filePath: any

    Returns Promise<string>

  • Parameters

    • command: any
    • payload: any

    Returns {
        type_url: string;
        value: any;
    }

    • type_url: string
    • value: any
  • Parameters

    • jwt: any
    • agent: any
    • url: any
    • body: any

    Returns Promise<unknown>

  • Parameters

    • client: client
    • rid: any
    • filename: any
    • highWaterMark: any

    Returns Promise<unknown>

  • Parameters

    • client: client
    • payload: any
    • id: string
    • dumpmsg: boolean

    Returns number

  • Parameters

    • protocol: clientType
    • onClientConnected: any
    • port: any
    • path: any
    • wss: any
    • app: any
    • http: any
    • clientConstructor: (new () => iclient) = client

    Returns {
        app: any;
        client: any;
        connected: boolean;
        connecting: boolean;
        http: any;
        id: string;
        pending: {};
        port: any;
        protocol: clientType;
        ws: any;
        wss: any;
    }

    • app: any
    • client: any
    • connected: boolean
    • connecting: boolean
    • http: any
    • id: string
    • pending: {}
      • port: any
      • protocol: clientType
      • ws: any
      • wss: any

    Generated using TypeDoc