Method: Browser::Socket#url

Defined in:
opal/browser/socket.rb

#urlString (readonly)

Returns the URL the socket is connected to.

Returns:

  • (String)

    the URL the socket is connected to



50
# File 'opal/browser/socket.rb', line 50

alias_native :url