Browse Source

fix port number

main
yggverse 7 months ago
parent
commit
687af4849e
  1. 2
      README.md
  2. 2
      src/Server.php

2
README.md

@ -52,7 +52,7 @@ $server = new \Yggverse\Nex\Server; @@ -52,7 +52,7 @@ $server = new \Yggverse\Nex\Server;
Provide optional `host`, `port` and `size` arguments in constructor or use available setters after object initiation.
``` php
$server = new \Yggverse\Nex\Server('127.0.0.1', 1915);
$server = new \Yggverse\Nex\Server('127.0.0.1', 1900);
```
#### Server::setHost

2
src/Server.php

@ -11,7 +11,7 @@ class Server @@ -11,7 +11,7 @@ class Server
public function __construct(
string $host = '127.0.0.1',
int $port = 1915,
int $port = 1900,
int $size = 1024,
bool $live = true
) {

Loading…
Cancel
Save