Skip to content

Commit c5d9ba4

Browse files
committed
Adding time missing for the example
1 parent b252593 commit c5d9ba4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/server.rst

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ If the handle/setup fails, the ``finish`` function will be executed.
99
:name: Blocking Stateless
1010
1111
from rawsocketpy import RawServer, RawRequestHandler
12+
import time
1213
1314
class LongTaskTest(RawRequestHandler):
1415
def setup(self):
@@ -35,6 +36,7 @@ If the handle/setup fails, the ``finish`` function will be executed.
3536
:name: Blocking Statefull
3637
3738
from rawsocketpy import RawServerCallback, RawRequestHandler
39+
import time
3840
3941
def callback(handler, server):
4042
print("Testing")

0 commit comments

Comments
 (0)