Browse Source

update readme

main
ghost 10 months ago
parent
commit
df9c2cef35
  1. 4
      README.md

4
README.md

@ -17,7 +17,7 @@ Gemini Protocol library for PHP 8
``` ```
<?php <?php
$server = new \Yggverse\TitanII\Server('IP', 1965); $server = new \Yggverse\TitanII\Server();
$server->setCert('cert.pem'); $server->setCert('cert.pem');
$server->setKey('key.rsa'); $server->setKey('key.rsa');
@ -35,5 +35,5 @@ $server->setHandler(
} }
); );
$server->start(); $server->start('IP', 1965);
``` ```
Loading…
Cancel
Save