Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed May 28, 2024
1 parent bab8cb5 commit 4e8269f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,12 @@ <h3>Getting started examples</h3>

end

copas.addserver(server_socket, copas.handler(connection_handler,
ssl_params), "my_TCP_server")
copas.addthread(function()
copas.addserver(server_socket, copas.handler(connection_handler,
ssl_params), "my_TCP_server")
copas.waitforexit()
copas.removeserver(server_socket)
end)

copas()
</pre>
Expand Down

0 comments on commit 4e8269f

Please sign in to comment.