Permalink
Browse files

docs/api: minor fixes

  • Loading branch information...
warner committed Dec 24, 2018
1 parent b0db8ad commit 69bab3d814691a69119d8d9a6be476f15ab56d4c
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/api.md
@@ -524,6 +524,8 @@ object twice.

## Dilation

(NOTE: this API is still in development)

To send bulk data, or anything more than a handful of messages, a Wormhole
can be "dilated" into a form that uses a direct TCP connection between the
two endpoints.
@@ -639,7 +641,7 @@ def FileSendingProtocol(internet.Protocol):
self.transport.loseConnection()
f.close()
def _send(metadata, filename):
f = protocol.ClientCreator(reactor,
f = protocol.ClientCreator(reactor,
FileSendingProtocol, metadata, filename)
subchannel_client_ep.connect(f)
def FileReceivingProtocol(internet.Protocol):

0 comments on commit 69bab3d

Please sign in to comment.