update readme with HttpOptions

This commit is contained in:
2014-01-22 21:52:01 +01:00
parent d96fafc0fb
commit 582ed84182
+9
View File
@@ -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: