mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 05:55:54 +00:00
Add ability to expose TCP connections (#123)
This commit is contained in:
@@ -10,6 +10,8 @@ interface ConnectionManager
|
||||
{
|
||||
public function storeConnection(string $host, ?string $subdomain, ConnectionInterface $connection): ControlConnection;
|
||||
|
||||
public function storeTcpConnection(int $port, ConnectionInterface $connection): ControlConnection;
|
||||
|
||||
public function limitConnectionLength(ControlConnection $connection, int $maximumConnectionLength);
|
||||
|
||||
public function storeHttpConnection(ConnectionInterface $httpConnection, $requestId): HttpConnection;
|
||||
@@ -25,4 +27,6 @@ interface ConnectionManager
|
||||
public function getConnections(): array;
|
||||
|
||||
public function getConnectionsForAuthToken(string $authToken): array;
|
||||
|
||||
public function getTcpConnectionsForAuthToken(string $authToken): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user