Method: Ably::Modules::Encodeable#encode
- Defined in:
- lib/ably/modules/encodeable.rb
#encode(encoders, channel_options, &error_block) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Encode a message using the channel options and register encoders for the client
56 57 58 |
# File 'lib/ably/modules/encodeable.rb', line 56 def encode(encoders, , &error_block) apply_encoders :encode, encoders, , &error_block end |