Skip to content

Commit 6953440

Browse files
committed
(docs): Rename to Utopia Proxy and update config examples
1 parent 8a75490 commit 6953440

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Appwrite Protocol Proxy
1+
# Utopia Proxy
22

33
High-performance, protocol-agnostic proxy built on Swoole for blazing fast connection management across HTTP, TCP, and SMTP protocols.
44

@@ -238,9 +238,9 @@ use Utopia\Proxy\Server\TCP\TLS;
238238
use Utopia\Proxy\Server\TCP\Swoole as TCPServer;
239239

240240
$tls = new TLS(
241-
certPath: '/certs/server.crt',
242-
keyPath: '/certs/server.key',
243-
caPath: '/certs/ca.crt', // Optional: for mTLS
241+
certificate: '/certs/server.crt',
242+
key: '/certs/server.key',
243+
ca: '/certs/ca.crt', // Optional: for mTLS
244244
requireClientCert: true, // Optional: require client certs
245245
);
246246

@@ -310,7 +310,7 @@ $config = new Config(
310310
socketBufferSize: 16 * 1024 * 1024,
311311
bufferOutputSize: 16 * 1024 * 1024,
312312
recvBufferSize: 131_072,
313-
backendConnectTimeout: 5.0,
313+
connectTimeout: 5.0,
314314
readWriteSplit: false,
315315
skipValidation: false,
316316
tls: null,
@@ -390,7 +390,7 @@ composer check
390390

391391
```
392392
┌─────────────────────────────────────────────────────────────────┐
393-
Protocol Proxy │
393+
Utopia Proxy
394394
├─────────────────────────────────────────────────────────────────┤
395395
│ │
396396
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │

0 commit comments

Comments
 (0)