sendByRequest method

Future<SendEventResponse> sendByRequest (SendEventRequest request, { SpongeRequestContext context })

Sends the send request to the server and returns the response.

Implementation

Future<SendEventResponse> sendByRequest(SendEventRequest request,
        {SpongeRequestContext context}) async =>
    await execute(SpongeClientConstants.OPERATION_SEND, request,
        (json) => SendEventResponse.fromJson(json), context);