Skip to content

Commit c0c402b

Browse files
WillAydtimhall
authored andcommitted
Replaced References to Rest* with Web* in Docs (#400)
* Replaced Rest* references to Web* in docs * Changed doc comments
1 parent eb857f0 commit c0c402b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: docs/_data/docs/WebClient.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Methods:
128128
Set Response = Client.GetJson(Url)
129129
130130
Dim Headers As New Collection
131-
Headers.Add RestHelpers.CreateKeyValue("Authorization", "Bearer ...")
131+
Headers.Add WebHelpers.CreateKeyValue("Authorization", "Bearer ...")
132132
133133
Dim Options As New Dictionary
134134
Options.Add "Headers", Headers
@@ -163,7 +163,7 @@ Methods:
163163
Set Response = Client.PostJson(Url, Body)
164164
165165
Dim Headers As New Collection
166-
Headers.Add RestHelpers.CreateKeyValue("Authorization", "Bearer ...")
166+
Headers.Add WebHelpers.CreateKeyValue("Authorization", "Bearer ...")
167167
168168
Dim Options As New Dictionary
169169
Options.Add "Headers", Headers
@@ -181,7 +181,7 @@ Methods:
181181
description: |
182182
Helper for setting proxy values.
183183
example: |
184-
Dim Client As New RestClient
184+
Dim Client As New WebClient
185185
186186
' Just Server
187187
Client.SetProxy "proxy_server:80"

Diff for: docs/_data/docs/WebRequest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Properties:
125125
126126
(Automatically sets `RequestFormat` to `WebFormat.Custom`)
127127
example: |
128-
RestHelpers.RegisterConverter "csv", "text/csv", "Module.ConvertToCSV", "Module.ParseCSV"
128+
WebHelpers.RegisterConverter "csv", "text/csv", "Module.ConvertToCSV", "Module.ParseCSV"
129129
130130
Dim Request As New WebRequest
131131
Request.CustomRequestFormat = "csv"
@@ -142,7 +142,7 @@ Properties:
142142
143143
(Automatically sets `ResponseFormat` to `WebFormat.Custom`)
144144
example: |
145-
RestHelpers.RegisterConverter "csv", "text/csv", "Module.ConvertToCSV", "Module.ParseCSV"
145+
WebHelpers.RegisterConverter "csv", "text/csv", "Module.ConvertToCSV", "Module.ParseCSV"
146146
147147
Dim Request As New WebRequest
148148
Request.CustomResponseFormat = "csv"

Diff for: src/WebClient.cls

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ End Function
458458
'
459459
' @example
460460
' ```VB.net
461-
' Dim Client As New RestClient
461+
' Dim Client As New WebClient
462462
'
463463
' ' Just Server
464464
' Client.SetProxy "proxy_server:80"

0 commit comments

Comments
 (0)