# LibTmux::Engine::Endpoint.new

- **Module:** LibTmux::Engine
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Engine.rakumod#L43
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-engine-endpoint-new/

```
method new(:$binary = 'tmux', :$socket-name = '', :$socket-path = '',
               :$config-file = '', :$environment = %*ENV, :$cwd = $*CWD)
```

Validate and copy endpoint settings without contacting tmux.

Validate and copy endpoint settings without contacting tmux.

## Parameters

- `$binary?`
- `$socket-name?`
- `$socket-path?`
- `$config-file?`
- `$environment?`
- `$cwd?`
