Commit 67a5bfc6 authored by danicampora's avatar danicampora
Browse files

docs/library: Add network server example.

parent 0d7de08e
......@@ -38,6 +38,14 @@ For example::
services running on the WiPy. Any changes performed using this class' methods will
affect both.
import network
s = network.server()
s.deinit() # disable the server
# enable the server again with new settings
s.init(login=('user', 'password'), timeout=600)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment