Module: Rex::Proto::Http::WebSocket::AmazonSsm::PayloadType

Defined in:
lib/rex/proto/http/web_socket/amazon_ssm.rb

Constant Summary collapse

Output =
1
Error =
2
Size =
3
Parameter =
4
HandshakeRequest =
5
HandshakeResponse =
6
HandshakeComplete =
7
EncChallengeRequest =
8
EncChallengeResponse =
9
Flag =
10

Class Method Summary collapse

Class Method Details

.from_val(v) ⇒ Object



18
19
20
# File 'lib/rex/proto/http/web_socket/amazon_ssm.rb', line 18

def self.from_val(v)
  self.constants.find {|c| self.const_get(c) == v }
end