docs/library: Add network server example.

pull/1727/head
danicampora 2015-12-16 22:34:42 +01:00
rodzic 0d7de08e06
commit 67a5bfc6d8
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -38,6 +38,14 @@ For example::
services running on the WiPy. Any changes performed using this class' methods will
affect both.
Example::
import network
s = network.server()
s.deinit() # disable the server
# enable the server again with new settings
s.init(login=('user', 'password'), timeout=600)
Constructors
------------