--- sidebar_label: Connection.send --- # Connection.send() method **Signature:** ```typescript class Connection {send(method: T, ...paramArgs: ProtocolMapping.Commands[T]['paramsType']): Promise;} ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | method | T | | | paramArgs | ProtocolMapping.Commands\[T\]\['paramsType'\] | | **Returns:** Promise<ProtocolMapping.Commands\[T\]\['returnType'\]>