mirror of
https://github.com/tlsnotary/ws_stream_wasm.git
synced 2026-01-09 21:17:56 -05:00
Fix small error in the README.md. (#3)
* Fix small error in the README.md.
This commit is contained in:
@@ -94,7 +94,7 @@ use
|
||||
|
||||
let program = async
|
||||
{
|
||||
let (mut ws, _wsio) = WsMeta::connect( "127.0.0.1:3012", None ).await
|
||||
let (mut ws, _wsio) = WsMeta::connect( "ws://127.0.0.1:3012", None ).await
|
||||
|
||||
.expect_throw( "assume the connection succeeds" );
|
||||
|
||||
@@ -129,7 +129,7 @@ use
|
||||
|
||||
let program = async
|
||||
{
|
||||
let (mut ws, _wsio) = WsMeta::connect( "127.0.0.1:3012", None ).await
|
||||
let (mut ws, _wsio) = WsMeta::connect( "ws://127.0.0.1:3012", None ).await
|
||||
|
||||
.expect_throw( "assume the connection succeeds" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user