onRequest (event)
Fires when a request is received from the client.
Syntax
- (void)onRequest:(long long)connectionId :(NSString*)operation :(NSString*)username :(int*)reject;
func onRequest(_ connectionId: Int64, _ operation: String, _ username: String, _ reject: inout Int32)
Remarks
The Operation parameter specifies the operation to perform, and Username the originator of the request. Use the Reject parameter to reject the request.