reloadByRequest method

Future<ReloadResponse> reloadByRequest (ReloadRequest request, { SpongeRequestContext context })

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

Implementation

Future<ReloadResponse> reloadByRequest(ReloadRequest request,
        {SpongeRequestContext context}) async =>
    await execute(SpongeClientConstants.OPERATION_RELOAD, request,
        (json) => ReloadResponse.fromJson(json), context);