From 582ed84182f8a8dd9d9a3f656c4aece9d7b27470 Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Wed, 22 Jan 2014 21:52:01 +0100 Subject: [PATCH] update readme with HttpOptions --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d96b72c..52b1299 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,15 @@ catch (ReadException exc) } ``` +## Options + +You can pass `HttpOptions` to the `Reader` constructor, which count for all requests: + +- `HttpMessageHandler` **CustomHttpHandler**
Use your own HTTP handler +- `int?` **RequestTimeout**
Define a custom timeout _in seconds_, after which requests should cancel +- `string` **UserAgent**
Override the user agent, which is passed to the destination server +- `bool` **UseMobileUserAgent**
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: