Sha256: a1918bb2e9f056a5a512b1d77194371ed54480f7f7164f81fa182fef1459c909
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
module MaxCube module Messages module UDP class Parser # Get URL information message. module MessageH private # Mandatory keys. KEYS = (Parser::KEYS + %i[port url path]).freeze def parse_udp_h(_body) port = read(2, true) url, path = read.split(',') { port: port, url: url, path: path, } end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maxcube-client-0.5.1 | lib/maxcube/messages/udp/type/h.rb |
maxcube-client-0.5.0 | lib/maxcube/messages/udp/type/h.rb |