Skip to content

Commit c5d9ba4

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/server.rst

Lines changed: 2 additions & 0 deletions
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)