update readme with HttpOptions
This commit is contained in:
@@ -43,6 +43,15 @@ catch (ReadException exc)
|
||||
}
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
You can pass `HttpOptions` to the `Reader` constructor, which count for all requests:
|
||||
|
||||
- `HttpMessageHandler` **CustomHttpHandler**<br>Use your own HTTP handler
|
||||
- `int?` **RequestTimeout**<br>Define a custom timeout _in seconds_, after which requests should cancel
|
||||
- `string` **UserAgent**<br>Override the user agent, which is passed to the destination server
|
||||
- `bool` **UseMobileUserAgent**<br>There are desktop and mobile default user agents. By enabling this property, the mobile user agent is used. _If you pass a custom user agent, this property is ignored!_
|
||||
|
||||
## Article Model
|
||||
|
||||
The `Article` contains following fields:
|
||||
|
||||
Reference in New Issue
Block a user