Class: Spikard::GrpcConfig
- Inherits:
-
Object
- Object
- Spikard::GrpcConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#enable_compression ⇒ Boolean?
Returns the value of attribute enable_compression.
-
#enable_keepalive ⇒ Boolean?
Returns the value of attribute enable_keepalive.
-
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
-
#keepalive_interval ⇒ Integer?
Returns the value of attribute keepalive_interval.
-
#keepalive_timeout ⇒ Integer?
Returns the value of attribute keepalive_timeout.
-
#max_concurrent_streams ⇒ Integer?
Returns the value of attribute max_concurrent_streams.
-
#max_message_size ⇒ Integer?
Returns the value of attribute max_message_size.
-
#max_stream_response_bytes ⇒ Integer?
Returns the value of attribute max_stream_response_bytes.
-
#request_timeout ⇒ Integer?
Returns the value of attribute request_timeout.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ GrpcConfig
constructor
A new instance of GrpcConfig.
Constructor Details
#initialize ⇒ GrpcConfig
Returns a new instance of GrpcConfig.
144 |
# File 'sig/types.rbs', line 144
def initialize: (?enabled: bool, ?max_message_size: Integer, ?enable_compression: bool, ?request_timeout: Integer, ?max_concurrent_streams: Integer, ?enable_keepalive: bool, ?keepalive_interval: Integer, ?keepalive_timeout: Integer, ?max_stream_response_bytes: Integer) -> void
|
Instance Attribute Details
#enable_compression ⇒ Boolean?
Returns the value of attribute enable_compression.
136 137 138 |
# File 'sig/types.rbs', line 136 def enable_compression @enable_compression end |
#enable_keepalive ⇒ Boolean?
Returns the value of attribute enable_keepalive.
139 140 141 |
# File 'sig/types.rbs', line 139 def enable_keepalive @enable_keepalive end |
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
134 135 136 |
# File 'sig/types.rbs', line 134 def enabled @enabled end |
#keepalive_interval ⇒ Integer?
Returns the value of attribute keepalive_interval.
140 141 142 |
# File 'sig/types.rbs', line 140 def keepalive_interval @keepalive_interval end |
#keepalive_timeout ⇒ Integer?
Returns the value of attribute keepalive_timeout.
141 142 143 |
# File 'sig/types.rbs', line 141 def keepalive_timeout @keepalive_timeout end |
#max_concurrent_streams ⇒ Integer?
Returns the value of attribute max_concurrent_streams.
138 139 140 |
# File 'sig/types.rbs', line 138 def max_concurrent_streams @max_concurrent_streams end |
#max_message_size ⇒ Integer?
Returns the value of attribute max_message_size.
135 136 137 |
# File 'sig/types.rbs', line 135 def @max_message_size end |
#max_stream_response_bytes ⇒ Integer?
Returns the value of attribute max_stream_response_bytes.
142 143 144 |
# File 'sig/types.rbs', line 142 def max_stream_response_bytes @max_stream_response_bytes end |
#request_timeout ⇒ Integer?
Returns the value of attribute request_timeout.
137 138 139 |
# File 'sig/types.rbs', line 137 def request_timeout @request_timeout end |