# LibTmux::ControlConnection.new

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/control.rb#L376
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-controlconnection-new/

```
def self.new: (
  binding: untyped,
  session_id: ::String,
  ?reconnect: ::LibTmux::ControlConnection?,
  ?max_requests: ::Integer,
  ?max_command_bytes: ::Integer,
  ?max_queue_bytes: ::Integer,
  ?max_line_bytes: ::Integer,
  ?max_reply_bytes: ::Integer,
  ?max_stderr_bytes: ::Integer,
  ?max_subscriptions: ::Integer
) -> ::LibTmux::ControlConnection
```

Behavior: Control connections.

Behavior contract: Control connections.
