Skip to content

v0.0.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@rdavisau rdavisau released this 21 Jun 02:53
· 1 commit to master since this release
Features:
  • You can now define request headers when creating a web source
  • You can now intercept web requests before they are sent, by making use of SetGlobalRequestIntercept and/or SetSpecificWebRequestIntercept<T> methods on the context. Each takes an Action<HttpWebRequest> that can perform any work on the request before it is made. The former applies to all requests, while the latter applies to the specific method or property returning IEnumerable<T>. The specific intercept is run after the global intercept, so can override any changes made by the global intercept. There are also RemoveGlobalRequestIntercept, RemoveSpecificWebRequestIntercept<T> and RemoveAllSpecificWebRequestIntercepts methods for managing intercepts at run-time.
Bugfixes / Stability:
  • Fixed a regression in class disambiguation code would cause the context code to be generated incorrectly.