aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/README.md')
-rw-r--r--src/node/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node/README.md b/src/node/README.md
index 2f4c49096d..7d3d8c7fa1 100644
--- a/src/node/README.md
+++ b/src/node/README.md
@@ -54,10 +54,10 @@ function loadObject(reflectionObject)
Returns the same structure that `load` returns, but takes a reflection object from `ProtoBuf.js` instead of a file name.
```javascript
-function buildServer(serviceArray)
+function Server([serverOpions])
```
-Takes an array of service objects and returns a constructor for a server that handles requests to all of those services.
+Constructs a server to which service/implementation pairs can be added.
```javascript
@@ -85,7 +85,7 @@ An object with factory methods for creating credential objects for clients.
ServerCredentials
```
-An object with factory methods fro creating credential objects for servers.
+An object with factory methods for creating credential objects for servers.
[homebrew]:http://brew.sh
[linuxbrew]:https://github.com/Homebrew/linuxbrew#installation