Class: OpenAI::Models::Responses::ConnectionManager
- Inherits:
-
Object
- Object
- OpenAI::Models::Responses::ConnectionManager
- Defined in:
- sig/openai/helpers/responses_websocket/connection_manager.rbs
Instance Method Summary collapse
-
#initialize ⇒ ConnectionManager
constructor
private
A new instance of ConnectionManager.
- #open {|connection| ... } ⇒ top private
Constructor Details
#initialize ⇒ ConnectionManager
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ConnectionManager.
6 7 8 9 10 11 12 |
# File 'sig/openai/helpers/responses_websocket/connection_manager.rbs', line 6
def initialize: (
client: OpenAI::Client,
websocket_base_url: String?,
transport: top,
request_options: OpenAI::request_opts?,
transport_options: ::Hash[Symbol, top]
) -> void
|
Instance Method Details
#open {|connection| ... } ⇒ top
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 |
# File 'sig/openai/helpers/responses_websocket/connection_manager.rbs', line 15
def open: { (OpenAI::Responses::Connection connection) -> top } -> top
|