Skip to content

Commit

Permalink
[docs] Replace non-breaking space with proper whitespace (socketio#2913)
Browse files Browse the repository at this point in the history
  • Loading branch information
epicTCK authored and darrachequesne committed Apr 19, 2017
1 parent dd7099c commit 9b232a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ See [above](#new-serverhttpserver-options) for available options.

The default (`/`) namespace.

#### server.serveClient([value])
#### server.serveClient([value])

- `value` _(Boolean)_
- **Returns** `Server|Boolean`
Expand All @@ -134,14 +134,14 @@ io.serveClient(false);
io.attach(http);
```

#### server.path([value])
#### server.path([value])

- `value` _(String)_
- **Returns** `Server|String`

Sets the path `value` under which `engine.io` and the static files will be served. Defaults to `/socket.io`. If no arguments are supplied this method returns the current value.

#### server.adapter([value])
#### server.adapter([value])

- `value` _(Adapter)_
- **Returns** `Server|Adapter`
Expand Down Expand Up @@ -181,15 +181,15 @@ Attaches the `Server` to an engine.io instance on `httpServer` with the supplied

Attaches the `Server` to an engine.io instance on a new http.Server with the supplied `options` (optionally).

#### server.listen(httpServer[, options])
#### server.listen(httpServer[, options])

Synonym of [server.attach(httpServer[, options])](#serverattachhttpserver-options).

#### server.listen(port[, options])

Synonym of [server.attach(port[, options])](#serverattachport-options).

#### server.bind(engine)
#### server.bind(engine)

- `engine` _(engine.Server)_
- **Returns** `Server`
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## Table of Contents

#### Getting started
#### Getting started

- [Write a chat application](http://socket.io/get-started/chat/)

Expand Down

0 comments on commit 9b232a8

Please sign in to comment.