Options
All
  • Public
  • Public/Protected
  • All
Menu

Module xapi/rpc

Index

Functions

collapse

  • collapse(data: any): any

createCommandResponse

  • createCommandResponse(response: any): any

createDocumentResponse

  • createDocumentResponse(request: any, response: any): any

createErrorResponse

  • createErrorResponse(id: string, error: any): { error: {}; id: string; jsonrpc: string }
  • Parameters

    • id: string
    • error: any

    Returns { error: {}; id: string; jsonrpc: string }

    • error: {}
      • [idx: string]: any
    • id: string
    • jsonrpc: string

createGetResponse

  • createGetResponse(request: any, response: any): any

createRequest

  • createRequest(id: null | string, method: string, params: any): XapiRequest

createResponse

  • createResponse(id: string, result: any): { id: string; jsonrpc: string; result: any }
  • Parameters

    • id: string
    • result: any

    Returns { id: string; jsonrpc: string; result: any }

    • id: string
    • jsonrpc: string
    • result: any

createSetResponse

  • createSetResponse(request: any, response: any): null

parseFeedbackResponse

  • parseFeedbackResponse(response: any): any

Generated using TypeDoc