type

 TScInvocationHandlerCallback = procedure (Sender: TObject; const Values: array of Variant) of object;

 

procedure Register(const MethodName: string; const Handler: TScInvocationHandlerCallback; const ParameterTypes: array of TVarType); overload;

procedure Register(const MethodName: string; const Handler: TScInvocationHandlerCallback; const ParameterTypes: array of TClass); overload;

 

Description

The Register method registers a handler that will be invoked when the hub method with the specified method name is invoked.

 

MethodName is the name of the hub method to be defined.

Handler is the handler that will be raised when the hub method is invoked.

ParameterTypes are the parameter types expected by the hub method.

 

See Also

Invoke

Send

Unregister

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support