Updating style to match named-data website (more or less)
Change-Id: I89789ed6a89637097ac52f5fb29211b0710458fd
diff --git a/face.rst b/face.rst
index 8fbef0c..6ef49e0 100644
--- a/face.rst
+++ b/face.rst
@@ -24,7 +24,8 @@
Face(
const ptr_lib::shared_ptr<Transport>& transport
- const ptr_lib::shared_ptr<const Transport::ConnectionInfo>& connectionInfo
+ const ptr_lib::shared_ptr<const Transport::ConnectionInfo>&
+ connectionInfo
);
@@ -57,10 +58,12 @@
.. code-block:: javascript
- getTransport: function() { return new WebSocketTransport(); },
+ getTransport: function()
+ { return new WebSocketTransport(); },
getHostAndPort: transport.defaultGetHostAndPort,
// a function, on each call it returns
- // a new { host: host, port: port } or null if there are no more hosts.
+ // a new { host: host, port: port }
+ // or null if there are no more hosts.
host: null, // If null, use getHostAndPort when connecting.
port: 9696
@@ -109,10 +112,12 @@
.. code-block:: javascript
- getTransport: function() { return new WebSocketTransport(); },
+ getTransport: function()
+ { return new WebSocketTransport(); },
getHostAndPort: transport.defaultGetHostAndPort,
// a function, on each call it returns a new
- // { host: host, port: port } or null if there are no more hosts.
+ // { host: host, port: port }
+ // or null if there are no more hosts.
host: null, // If null, use getHostAndPort when connecting.
port: 9696