You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ This resource consumes the [GitHub v3 API](https://developer.github.com/v3/) and
19
19
20
20
To enable use of `JustEat.HttpClientInterception` for testing, the application has a small number of minor changes:
21
21
22
-
1. An [extension method](https://github.com/justeattakeaway/httpclient-interception/blob/63e27420c35f66bd4953184586fa10a4762b4bca/samples/SampleApp/Extensions/HttpClientExtensions.cs#L18-L28) that registers `HttpClient` for use with [Refit](https://github.com/paulcbetts/refit) to call the GitHub API.
22
+
1. An [extension method](https://github.com/justeattakeaway/httpclient-interception/blob/63e27420c35f66bd4953184586fa10a4762b4bca/samples/SampleApp/Extensions/HttpClientExtensions.cs#L18-L28) that registers `HttpClient` for use with [Refit](https://github.com/reactiveui/refit) to call the GitHub API.
23
23
1. Dependencies for the GitHub API are [registered](https://github.com/justeattakeaway/httpclient-interception/blob/63e27420c35f66bd4953184586fa10a4762b4bca/samples/SampleApp/Startup.cs#L24) in the `Startup` class.
24
24
1.`IGitHub` is injected into the [constructor of `ReposController`](https://github.com/justeattakeaway/httpclient-interception/blob/63e27420c35f66bd4953184586fa10a4762b4bca/samples/SampleApp/Controllers/ReposController.cs#L18)
0 commit comments