Skip to content

Commit 199eec6

Browse files
epicTCKdarrachequesne
authored andcommitted
[docs] Replace non-breaking space with proper whitespace (#2913)
1 parent f1b39a6 commit 199eec6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/API.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ See [above](#new-serverhttpserver-options) for available options.
117117

118118
The default (`/`) namespace.
119119

120-
#### server.serveClient([value])
120+
#### server.serveClient([value])
121121

122122
- `value` _(Boolean)_
123123
- **Returns** `Server|Boolean`
@@ -134,14 +134,14 @@ io.serveClient(false);
134134
io.attach(http);
135135
```
136136

137-
#### server.path([value])
137+
#### server.path([value])
138138

139139
- `value` _(String)_
140140
- **Returns** `Server|String`
141141

142142
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.
143143

144-
#### server.adapter([value])
144+
#### server.adapter([value])
145145

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

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

184-
#### server.listen(httpServer[, options])
184+
#### server.listen(httpServer[, options])
185185

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

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

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

192-
#### server.bind(engine)
192+
#### server.bind(engine)
193193

194194
- `engine` _(engine.Server)_
195195
- **Returns** `Server`

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
## Table of Contents
33

4-
#### Getting started
4+
#### Getting started
55

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

0 commit comments

Comments
 (0)