Class: Baykit::BayServer::Docker::Http::H1::Command::CmdEndContent

Inherits:
H1Command
  • Object
show all
Defined in:
lib/baykit/bayserver/docker/http/h1/command/cmd_end_content.rb

Overview

Dummy packet (empty packet) to notify contents are sent

Instance Method Summary collapse

Constructor Details

#initializeCmdEndContent

Returns a new instance of CmdEndContent.



16
17
18
# File 'lib/baykit/bayserver/docker/http/h1/command/cmd_end_content.rb', line 16

def initialize()
  super(H1Type::END_CONTENT)
end

Instance Method Details

#handle(cmd_handler) ⇒ Object



26
27
28
# File 'lib/baykit/bayserver/docker/http/h1/command/cmd_end_content.rb', line 26

def handle(cmd_handler)
  return cmd_handler.handle_end_content(self)
end

#pack(pkt) ⇒ Object



23
24
# File 'lib/baykit/bayserver/docker/http/h1/command/cmd_end_content.rb', line 23

def pack(pkt)
end

#unpack(pkt) ⇒ Object



20
21
# File 'lib/baykit/bayserver/docker/http/h1/command/cmd_end_content.rb', line 20

def unpack(pkt)
end