Skip to content

Commit 79301fc

Browse files
committed
fix/docs: add swift options + respect targets order
1 parent 2ef61bd commit 79301fc

1 file changed

Lines changed: 26 additions & 14 deletions

File tree

‎README.md‎

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -197,22 +197,16 @@ module.exports.info = {
197197

198198
### Target Options
199199

200-
### cURL
200+
### Shell
201+
202+
##### cURL
201203

202204
| Option | Default | Description |
203205
| -------- | ------- | ------------------------------------------------------------------------ |
204206
| `short` | `false` | use short form of cURL CLI options |
205207
| `indent` | ` ` | line break & indent output value, set to `false` to disable line breaks |
206208

207-
### Go
208-
209-
| Option | Default | Description |
210-
| --------------- | ------- | ------------------------------------------------------------------------ |
211-
| `errorChecking` | `false` | add error checking for request, response and body |
212-
| `printBody` | `true` | include code to print the body as a string |
213-
| `timeout` | `-1` | sets a request timeout in seconds (requires go 1.3+) |
214-
215-
### HTTPie
209+
##### HTTPie
216210

217211
| Option | Default | Description |
218212
| --------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- |
@@ -228,7 +222,7 @@ module.exports.info = {
228222
| `short` | `false` | use short form of cURL CLI options |
229223
| `indent` | ` ` | line break & indent output value, set to `false` to disable line breaks |
230224

231-
### Wget
225+
##### Wget
232226

233227
| Option | Default | Description |
234228
| --------- | ------- | ------------------------------------------------------------------------ |
@@ -238,13 +232,31 @@ module.exports.info = {
238232

239233
### Objective-C
240234

241-
##### Native
235+
##### NSURLSession
242236

243237
| Option | Default | Description |
244238
| --------- | ------- | ------------------------------------------------------------------------ |
245239
| `timeout` | `10` | NSURLRequest timeout |
246-
| `indent` | ` ` | line break & indent output value, set to `false` to disable line |
247-
| `pretty` | `true` | indent extracted headers/parameters in `NSDictionary` litterals |
240+
| `indent` | ` ` | line break & indent output value |
241+
| `pretty` | `true` | indent extracted headers/parameters in `NSDictionary` literals |
242+
243+
### Swift
244+
245+
##### NSURLSession
246+
247+
| Option | Default | Description |
248+
| --------- | ------- | ------------------------------------------------------------------------ |
249+
| `timeout` | `10` | NSURLRequest timeout |
250+
| `indent` | ` ` | line break & indent output value |
251+
| `pretty` | `true` | indent extracted headers/parameters in `NSDictionary` literals |
252+
253+
### Go
254+
255+
| Option | Default | Description |
256+
| --------------- | ------- | ------------------------------------------------------------------------ |
257+
| `errorChecking` | `false` | add error checking for request, response and body |
258+
| `printBody` | `true` | include code to print the body as a string |
259+
| `timeout` | `-1` | sets a request timeout in seconds (requires go 1.3+) |
248260

249261
## Bugs and feature requests
250262

0 commit comments

Comments
 (0)