434 lines
14 KiB
YAML
434 lines
14 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: adas_core.module.Relays.Utils.HttpUtils
|
|
commentId: T:adas_core.module.Relays.Utils.HttpUtils
|
|
id: HttpUtils
|
|
parent: adas_core.module.Relays.Utils
|
|
children:
|
|
- adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth(System.String,System.String,System.Net.Http.Headers.HttpRequestHeaders)
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: HttpUtils
|
|
nameWithType: HttpUtils
|
|
fullName: adas_core.module.Relays.Utils.HttpUtils
|
|
type: Class
|
|
source:
|
|
remote:
|
|
path: adas-core.module.Relays/Utils/HttpUtils.cs
|
|
branch: document/release/1.0.1
|
|
repo: https://git.teralevel.io/adas/adas-core.git
|
|
id: HttpUtils
|
|
path: ../../adas-core.module.Relays/Utils/HttpUtils.cs
|
|
startLine: 8
|
|
assemblies:
|
|
- adas-core.module.Relays
|
|
namespace: adas_core.module.Relays.Utils
|
|
summary: Utility class for handling HTTP-related operations, such as adding basic authentication headers to HTTP requests.
|
|
example: []
|
|
syntax:
|
|
content: public static class HttpUtils
|
|
content.vb: Public Module HttpUtils
|
|
inheritance:
|
|
- System.Object
|
|
inheritedMembers:
|
|
- System.Object.Equals(System.Object)
|
|
- System.Object.Equals(System.Object,System.Object)
|
|
- System.Object.GetHashCode
|
|
- System.Object.GetType
|
|
- System.Object.MemberwiseClone
|
|
- System.Object.ReferenceEquals(System.Object,System.Object)
|
|
- System.Object.ToString
|
|
- uid: adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth(System.String,System.String,System.Net.Http.Headers.HttpRequestHeaders)
|
|
commentId: M:adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth(System.String,System.String,System.Net.Http.Headers.HttpRequestHeaders)
|
|
id: AddBasicAuth(System.String,System.String,System.Net.Http.Headers.HttpRequestHeaders)
|
|
parent: adas_core.module.Relays.Utils.HttpUtils
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: AddBasicAuth(string, string, HttpRequestHeaders)
|
|
nameWithType: HttpUtils.AddBasicAuth(string, string, HttpRequestHeaders)
|
|
fullName: adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth(string, string, System.Net.Http.Headers.HttpRequestHeaders)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: adas-core.module.Relays/Utils/HttpUtils.cs
|
|
branch: document/release/1.0.1
|
|
repo: https://git.teralevel.io/adas/adas-core.git
|
|
id: AddBasicAuth
|
|
path: ../../adas-core.module.Relays/Utils/HttpUtils.cs
|
|
startLine: 17
|
|
assemblies:
|
|
- adas-core.module.Relays
|
|
namespace: adas_core.module.Relays.Utils
|
|
summary: Adds basic authentication to the provided HttpRequestHeaders.
|
|
example: []
|
|
syntax:
|
|
content: public static HttpRequestHeaders AddBasicAuth(string username, string password, HttpRequestHeaders headers)
|
|
parameters:
|
|
- id: username
|
|
type: System.String
|
|
description: The username for basic authentication.
|
|
- id: password
|
|
type: System.String
|
|
description: The password for basic authentication.
|
|
- id: headers
|
|
type: System.Net.Http.Headers.HttpRequestHeaders
|
|
description: The HttpRequestHeaders to which the authentication will be added.
|
|
return:
|
|
type: System.Net.Http.Headers.HttpRequestHeaders
|
|
description: The HttpRequestHeaders with the added basic authentication.
|
|
content.vb: Public Shared Function AddBasicAuth(username As String, password As String, headers As HttpRequestHeaders) As HttpRequestHeaders
|
|
overload: adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth*
|
|
nameWithType.vb: HttpUtils.AddBasicAuth(String, String, HttpRequestHeaders)
|
|
fullName.vb: adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth(String, String, System.Net.Http.Headers.HttpRequestHeaders)
|
|
name.vb: AddBasicAuth(String, String, HttpRequestHeaders)
|
|
references:
|
|
- uid: adas_core.module.Relays.Utils
|
|
commentId: N:adas_core.module.Relays.Utils
|
|
href: adas_core.html
|
|
name: adas_core.module.Relays.Utils
|
|
nameWithType: adas_core.module.Relays.Utils
|
|
fullName: adas_core.module.Relays.Utils
|
|
spec.csharp:
|
|
- uid: adas_core
|
|
name: adas_core
|
|
href: adas_core.html
|
|
- name: .
|
|
- uid: adas_core.module
|
|
name: module
|
|
href: adas_core.module.html
|
|
- name: .
|
|
- uid: adas_core.module.Relays
|
|
name: Relays
|
|
href: adas_core.module.Relays.html
|
|
- name: .
|
|
- uid: adas_core.module.Relays.Utils
|
|
name: Utils
|
|
href: adas_core.module.Relays.Utils.html
|
|
spec.vb:
|
|
- uid: adas_core
|
|
name: adas_core
|
|
href: adas_core.html
|
|
- name: .
|
|
- uid: adas_core.module
|
|
name: module
|
|
href: adas_core.module.html
|
|
- name: .
|
|
- uid: adas_core.module.Relays
|
|
name: Relays
|
|
href: adas_core.module.Relays.html
|
|
- name: .
|
|
- uid: adas_core.module.Relays.Utils
|
|
name: Utils
|
|
href: adas_core.module.Relays.Utils.html
|
|
- uid: System.Object
|
|
commentId: T:System.Object
|
|
parent: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
name: object
|
|
nameWithType: object
|
|
fullName: object
|
|
nameWithType.vb: Object
|
|
fullName.vb: Object
|
|
name.vb: Object
|
|
- uid: System.Object.Equals(System.Object)
|
|
commentId: M:System.Object.Equals(System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
name: Equals(object)
|
|
nameWithType: object.Equals(object)
|
|
fullName: object.Equals(object)
|
|
nameWithType.vb: Object.Equals(Object)
|
|
fullName.vb: Object.Equals(Object)
|
|
name.vb: Equals(Object)
|
|
spec.csharp:
|
|
- uid: System.Object.Equals(System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.Equals(System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
commentId: M:System.Object.Equals(System.Object,System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
name: Equals(object, object)
|
|
nameWithType: object.Equals(object, object)
|
|
fullName: object.Equals(object, object)
|
|
nameWithType.vb: Object.Equals(Object, Object)
|
|
fullName.vb: Object.Equals(Object, Object)
|
|
name.vb: Equals(Object, Object)
|
|
spec.csharp:
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.GetHashCode
|
|
commentId: M:System.Object.GetHashCode
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
name: GetHashCode()
|
|
nameWithType: object.GetHashCode()
|
|
fullName: object.GetHashCode()
|
|
nameWithType.vb: Object.GetHashCode()
|
|
fullName.vb: Object.GetHashCode()
|
|
spec.csharp:
|
|
- uid: System.Object.GetHashCode
|
|
name: GetHashCode
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.GetHashCode
|
|
name: GetHashCode
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.GetType
|
|
commentId: M:System.Object.GetType
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
name: GetType()
|
|
nameWithType: object.GetType()
|
|
fullName: object.GetType()
|
|
nameWithType.vb: Object.GetType()
|
|
fullName.vb: Object.GetType()
|
|
spec.csharp:
|
|
- uid: System.Object.GetType
|
|
name: GetType
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.GetType
|
|
name: GetType
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.MemberwiseClone
|
|
commentId: M:System.Object.MemberwiseClone
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
name: MemberwiseClone()
|
|
nameWithType: object.MemberwiseClone()
|
|
fullName: object.MemberwiseClone()
|
|
nameWithType.vb: Object.MemberwiseClone()
|
|
fullName.vb: Object.MemberwiseClone()
|
|
spec.csharp:
|
|
- uid: System.Object.MemberwiseClone
|
|
name: MemberwiseClone
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.MemberwiseClone
|
|
name: MemberwiseClone
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
name: ReferenceEquals(object, object)
|
|
nameWithType: object.ReferenceEquals(object, object)
|
|
fullName: object.ReferenceEquals(object, object)
|
|
nameWithType.vb: Object.ReferenceEquals(Object, Object)
|
|
fullName.vb: Object.ReferenceEquals(Object, Object)
|
|
name.vb: ReferenceEquals(Object, Object)
|
|
spec.csharp:
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
name: ReferenceEquals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
name: ReferenceEquals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.ToString
|
|
commentId: M:System.Object.ToString
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
name: ToString()
|
|
nameWithType: object.ToString()
|
|
fullName: object.ToString()
|
|
nameWithType.vb: Object.ToString()
|
|
fullName.vb: Object.ToString()
|
|
spec.csharp:
|
|
- uid: System.Object.ToString
|
|
name: ToString
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.ToString
|
|
name: ToString
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
- name: (
|
|
- name: )
|
|
- uid: System
|
|
commentId: N:System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
name: System
|
|
nameWithType: System
|
|
fullName: System
|
|
- uid: adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth*
|
|
commentId: Overload:adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth
|
|
href: adas_core.module.Relays.Utils.HttpUtils.html#adas_core_module_Relays_Utils_HttpUtils_AddBasicAuth_System_String_System_String_System_Net_Http_Headers_HttpRequestHeaders_
|
|
name: AddBasicAuth
|
|
nameWithType: HttpUtils.AddBasicAuth
|
|
fullName: adas_core.module.Relays.Utils.HttpUtils.AddBasicAuth
|
|
- uid: System.String
|
|
commentId: T:System.String
|
|
parent: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.string
|
|
name: string
|
|
nameWithType: string
|
|
fullName: string
|
|
nameWithType.vb: String
|
|
fullName.vb: String
|
|
name.vb: String
|
|
- uid: System.Net.Http.Headers.HttpRequestHeaders
|
|
commentId: T:System.Net.Http.Headers.HttpRequestHeaders
|
|
parent: System.Net.Http.Headers
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.net.http.headers.httprequestheaders
|
|
name: HttpRequestHeaders
|
|
nameWithType: HttpRequestHeaders
|
|
fullName: System.Net.Http.Headers.HttpRequestHeaders
|
|
- uid: System.Net.Http.Headers
|
|
commentId: N:System.Net.Http.Headers
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
name: System.Net.Http.Headers
|
|
nameWithType: System.Net.Http.Headers
|
|
fullName: System.Net.Http.Headers
|
|
spec.csharp:
|
|
- uid: System
|
|
name: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
- name: .
|
|
- uid: System.Net
|
|
name: Net
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.net
|
|
- name: .
|
|
- uid: System.Net.Http
|
|
name: Http
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.net.http
|
|
- name: .
|
|
- uid: System.Net.Http.Headers
|
|
name: Headers
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.net.http.headers
|
|
spec.vb:
|
|
- uid: System
|
|
name: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
- name: .
|
|
- uid: System.Net
|
|
name: Net
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.net
|
|
- name: .
|
|
- uid: System.Net.Http
|
|
name: Http
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.net.http
|
|
- name: .
|
|
- uid: System.Net.Http.Headers
|
|
name: Headers
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.net.http.headers
|