Class: OpenAI::Models::Responses::ConnectionManager

Inherits:
Object
  • Object
show all
Defined in:
sig/openai/helpers/responses_websocket/connection_manager.rbs

Instance Method Summary collapse

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.

Parameters:

  • client: (OpenAI::Client)
  • websocket_base_url: (String, nil)
  • transport: (top)
  • request_options: (OpenAI::request_opts, nil)
  • transport_options: (::Hash[Symbol, top])


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.

Yields:

Yield Parameters:

Yield Returns:

  • (top)

Returns:

  • (top)


15
# File 'sig/openai/helpers/responses_websocket/connection_manager.rbs', line 15

def open: { (OpenAI::Responses::Connection connection) -> top } -> top