module MaxCube::Messages::UDP::Parser::MessageH

Get URL information message.

Constants

KEYS

Mandatory keys.

Private Instance Methods

parse_udp_h(_body) click to toggle source
# File lib/maxcube/messages/udp/type/h.rb, line 13
def parse_udp_h(_body)
  port = read(2, true)
  url, path = read.split(',')
  {
    port: port,
    url: url,
    path: path,
  }
end