Skip to content

Commit

Permalink
docs/api: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Dec 24, 2018
1 parent b0db8ad commit 69bab3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 69bab3d

Please sign in to comment.