papi-dts
    Preparing search index...

    Function createSuccessResponse

    • Create a JSONRPCSuccessResponse message

      Type Parameters

      • T

      Parameters

      • contents: T

        Data to return to the requester when the request succeeds

      • OptionalrequestId: RequestId

        ID of the request that this response is intended to address. If no ID was provided, don't pass a value to this parameter.

      Returns JSONRPCSuccessResponse

      JSONRPCSuccessResponse message that can be serialized and sent over a connection