diff options
author | Henauxg <19689618+Henauxg@users.noreply.github.com> | 2022-10-27 16:57:18 +0200 |
---|---|---|
committer | Henauxg <19689618+Henauxg@users.noreply.github.com> | 2022-10-27 16:57:18 +0200 |
commit | d124d9fec313d1e3010d8d8b2ac2f3c036276475 (patch) | |
tree | 9fb8eb66365c1cb384cec39bd664da79f908dae8 /README.md | |
parent | 7a9e8346c3cf3a7227ac2a32374a80aebec75af1 (diff) |
[readme] Fix comments and ","
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -92,7 +92,9 @@ fn start_connection(client: ResMut<Client>) { ) .unwrap(); - // You can already send message(s) even before being connected, they will be buffered. To be trully connected, you should wait for a ConnectionEvent or check client.is_connected() + // You can already send message(s) even before being connected, they will be buffered. + // To be trully connected, you should wait for a ConnectionEvent + // or check client.is_connected() client .send_message(...) .unwrap(); @@ -220,13 +222,13 @@ Here are the current options available to the server and client plugins: server.start(/*...*/, CertificateRetrievalMode::LoadFromFile { cert_file: "./certificates.pem".into(), key_file: "./privkey.pem".into(), - }, + }; // To load one from files, or to generate a new self-signed one if the files do not exist. server.start(/*...*/, CertificateRetrievalMode::LoadFromFileOrGenerateSelfSigned { cert_file: "./certificates.pem".into(), key_file: "./privkey.pem".into(), save_on_disk: true, // To persist on disk if generated - }, + }; ``` ## Logs |