Class: Raptor::Binder::H2cListener
- Inherits:
-
Data
- Object
- Data
- Raptor::Binder::H2cListener
- Defined in:
- lib/raptor/binder.rb,
sig/generated/raptor/binder.rbs
Overview
Marks a TCPServer as accepting cleartext HTTP/2 connections.
Instance Attribute Summary collapse
-
#tcp_server ⇒ Object
readonly
Returns the value of attribute tcp_server.
Class Method Summary collapse
Instance Method Summary collapse
- #accept_nonblock ⇒ Object
- #close ⇒ Object
- #local_address ⇒ Object
- #members ⇒ [ :tcp_server ]
- #to_io ⇒ Object
Instance Attribute Details
#tcp_server ⇒ Object (readonly)
Returns the value of attribute tcp_server
36 37 38 |
# File 'lib/raptor/binder.rb', line 36 def tcp_server @tcp_server end |
Class Method Details
.members ⇒ [ :tcp_server ]
37 |
# File 'sig/generated/raptor/binder.rbs', line 37
def self.members: () -> [ :tcp_server ]
|
.new(tcp_server) ⇒ instance .new(tcp_server:) ⇒ instance
34 35 |
# File 'sig/generated/raptor/binder.rbs', line 34
def self.new: (untyped tcp_server) -> instance
| (tcp_server: untyped) -> instance
|
Instance Method Details
#accept_nonblock ⇒ Object
38 |
# File 'lib/raptor/binder.rb', line 38 def accept_nonblock(...) = tcp_server.accept_nonblock(...) |
#close ⇒ Object
47 |
# File 'lib/raptor/binder.rb', line 47 def close = tcp_server.close |
#local_address ⇒ Object
44 |
# File 'lib/raptor/binder.rb', line 44 def local_address = tcp_server.local_address |
#members ⇒ [ :tcp_server ]
39 |
# File 'sig/generated/raptor/binder.rbs', line 39
def members: () -> [ :tcp_server ]
|
#to_io ⇒ Object
41 |
# File 'lib/raptor/binder.rb', line 41 def to_io = tcp_server |