Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wspy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
wspy
Commits
990e00af
Commit
990e00af
authored
Nov 07, 2012
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
1eeccf8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
connection.py
connection.py
+5
-5
No files found.
connection.py
View file @
990e00af
...
@@ -158,7 +158,7 @@ class Connection(object):
...
@@ -158,7 +158,7 @@ class Connection(object):
"""
"""
Called after the connection is initialized.
Called after the connection is initialized.
"""
"""
pass
return
NotImplemented
def
onmessage
(
self
,
message
):
def
onmessage
(
self
,
message
):
"""
"""
...
@@ -173,22 +173,22 @@ class Connection(object):
...
@@ -173,22 +173,22 @@ class Connection(object):
used to start a timeout handler for a PONG frame that is not received
used to start a timeout handler for a PONG frame that is not received
in time.
in time.
"""
"""
pass
return
NotImplemented
def
onpong
(
self
,
payload
):
def
onpong
(
self
,
payload
):
"""
"""
Called when a PONG control frame is received.
Called when a PONG control frame is received.
"""
"""
pass
return
NotImplemented
def
onclose
(
self
,
code
,
reason
):
def
onclose
(
self
,
code
,
reason
):
"""
"""
Called when the socket is closed by either end point.
Called when the socket is closed by either end point.
"""
"""
pass
return
NotImplemented
def
onexception
(
self
,
e
):
def
onexception
(
self
,
e
):
"""
"""
Handle a raised exception.
Handle a raised exception.
"""
"""
pass
return
NotImplemented
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment