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
[core-rest-pipeline][core-client] Replace "HTTPS" with "HTTP" in interface names (Azure#14142)
Despite no service being allowed to ship a non-TLS encrypted endpoint, it turns out there are cases (such as the AutoRest test server) where we want Core to be able to make insecure connections.
The work to support such connections will be added in a later PR (to avoid risk) but this PR renames all public interfaces to make it clear that connections do not need to be TLS encrypted.
Copy file name to clipboardExpand all lines: sdk/core/core-rest-pipeline/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
## 1.0.0-beta.2 (Unreleased)
4
4
5
+
- Renamed interfaces with `HTTPS` in the name to have `HTTP` instead.
5
6
- Changed from exposing `DefaultHttpsClient` as a class directly, to providing `createDefaultHttpsClient()` to instantiate the appropriate runtime class.
6
7
- Fix an issue when passing in proxy hosts. [PR 13911](https://github.com/Azure/azure-sdk-for-js/pull/13911)
7
8
- Package rename to `core-rest-pipeline` to better reflect its purpose.
It is similar in shape to `HttpsClient`, but includes a policy name as well as a slightly modified `SendRequest` signature that allows it to conditionally call the next policy in the pipeline.
67
+
It is similar in shape to `HttpClient`, but includes a policy name as well as a slightly modified `SendRequest` signature that allows it to conditionally call the next policy in the pipeline.
68
68
69
69
One can view the role of policies as that of `middleware`, a concept that is familiar to NodeJS developers who have worked with frameworks such as [Express](https://expressjs.com/).
70
70
@@ -99,13 +99,13 @@ A `Pipeline` satisfies the following interface:
As you can see it allows for policies to be added or removed and it is loosely coupled with `HttpsClient` to perform the real request to the server endpoint.
108
+
As you can see it allows for policies to be added or removed and it is loosely coupled with `HttpClient` to perform the real request to the server endpoint.
109
109
110
110
One important concept for `Pipeline`s is that they group policies into ordered phases:
0 commit comments