Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added comments for document generation.
  • Loading branch information
Russell Mora committed Jan 23, 2017
1 parent 45bdad5 commit 03bd227
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ https://support.microsoft.com/en-us/kb/811833 for more details.
The recommendation is to use at least SHA256.
.PARAMETER Credential
OPTIONAL - A System.Net.ICredentials object that contains credentials to
use to authenticate to the URL server. This is just ultimately passed
onto System.Net.HttpWebRequest Crentials property. Available in 0.9.11+
.PARAMETER Options
OPTIONAL - Specify custom headers. Available in 0.9.10+.
Expand Down
5 changes: 5 additions & 0 deletions src/chocolatey.resources/helpers/functions/Get-WebFile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ package folder next to the install script, the path will be like
The user agent to use as part of the request. Defaults to 'chocolatey
command line'.
.PARAMETER Credential
OPTIONAL - A System.Net.ICredentials object that contains credentials to
use to authenticate to the URL server. This is just ultimately passed
onto System.Net.HttpWebRequest Crentials property. Available in 0.9.11+
.PARAMETER PassThru
DO NOT USE - holdover from original function.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ from the url response.
The user agent to use as part of the request. Defaults to 'chocolatey
command line'.
.PARAMETER Credential
OPTIONAL - A System.Net.ICredentials object that contains credentials to
use to authenticate to the URL server. This is just ultimately passed
onto System.Net.HttpWebRequest Crentials property. Available in 0.9.11+
.PARAMETER IgnoredArguments
Allows splatting with arguments that do not apply. Do not use directly.
Expand Down
5 changes: 5 additions & 0 deletions src/chocolatey.resources/helpers/functions/Get-WebHeaders.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ This is the url to get a request/response from.
The user agent to use as part of the request. Defaults to 'chocolatey
command line'.
.PARAMETER Credential
OPTIONAL - A System.Net.ICredentials object that contains credentials to
use to authenticate to the URL server. This is just ultimately passed
onto System.Net.HttpWebRequest Crentials property. Available in 0.9.11+
.PARAMETER IgnoredArguments
Allows splatting with arguments that do not apply. Do not use directly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ https://support.microsoft.com/en-us/kb/811833 for more details.
The recommendation is to use at least SHA256.
.PARAMETER Credential
OPTIONAL - A System.Net.ICredentials object that contains credentials to
use to authenticate to the URL server. This is just ultimately passed
onto System.Net.HttpWebRequest Crentials property. Available in 0.9.11+
.PARAMETER Options
OPTIONAL - Specify custom headers. Available in 0.9.10+.
Expand Down

0 comments on commit 03bd227

Please sign in to comment.