Skip to content

Support management/connection over TCP #6

@thejpanganiban

Description

@thejpanganiban

Currently, the connection is established via unix socket files. It would be nice if this library would also support connecting to HAProxy over TCP as well. :)

[EDIT]:
URLs might be a good way on how to define how it connects.

hap = haproxy.HAProxy('unix:///var/run/haproxy.sock')  # via unix socket
hap = haproxy.HAProxy('tcp://127.0.0.1:1937')  # via TCP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions