handleCustomRequest abstract method

Future<JSAny?> handleCustomRequest(
  1. ClientConnection connection,
  2. JSAny? request
)

Handles a custom request (encoded as any JS value) from the connection.

The response is sent over the channel and completes a Database.customRequest call for clients.

Implementation

Future<JSAny?> handleCustomRequest(
    ClientConnection connection, JSAny? request);