class

Cable::HabitatSettings

Inherits Reference < Object

Class methods

backend_class
backend_class=(value : Cable::BackendCore.class)
backend_class?

Used for checking missing settings on non-nilable types It's advised to use backend_class in your apps to ensure the propper type is checked.

backend_ping_interval
backend_ping_interval=(value : Time::Span)
backend_ping_interval?

Used for checking missing settings on non-nilable types It's advised to use backend_ping_interval in your apps to ensure the propper type is checked.

disable_sec_websocket_protocol_header
disable_sec_websocket_protocol_header=(value : Bool)
disable_sec_websocket_protocol_header?

Used for checking missing settings on non-nilable types It's advised to use disable_sec_websocket_protocol_header in your apps to ensure the propper type is checked.

on_error
on_error=(value : Proc(Exception, String, Cable::Connection | Nil, Nil))
on_error?

Used for checking missing settings on non-nilable types It's advised to use on_error in your apps to ensure the propper type is checked.

restart_error_allowance
restart_error_allowance=(value : Int32)
restart_error_allowance?

Used for checking missing settings on non-nilable types It's advised to use restart_error_allowance in your apps to ensure the propper type is checked.

route
route=(value : String)
route?

Used for checking missing settings on non-nilable types It's advised to use route in your apps to ensure the propper type is checked.

to_h

Generates a hash using the provided values

token
token=(value : String)
token?

Used for checking missing settings on non-nilable types It's advised to use token in your apps to ensure the propper type is checked.

url
url=(value : String)
url?

Used for checking missing settings on non-nilable types It's advised to use url in your apps to ensure the propper type is checked.