Namespace: Consultingwerk.Framework.Http
Class 
SmartHttpClientLibrary Copy to Clipboard
Parent classes:
OpenEdge.Net.HTTP.Lib.ABLSockets.ABLSocketLibrary

Inherits: OpenEdge.Net.HTTP.Lib.ABLSockets.ABLSocketLibrary




Top Method Summary
Options Name Purpose
Execute (IHttpRequest, IHttpResponse) Executes an HTTP request
LOGICAL IsIpAddressLiteral (character) Returns if the given host name is an IP address literal

Top Constructor Summary
Options Name Purpose
SmartHttpClientLibrary (character, character, ClientSocket, ClientSocketConnectionParameters, ClientOptions) Constructor for SmartHttpClientLibrary

Top Property Summary
Options Name Purpose
OpenEdge.Net.ServerConnection.ClientSocketConnectionParameters ConnectionParameters


Method Detail
Top

Execute (IHttpRequest, IHttpResponse)

Purpose: Executes an HTTP request
Notes: Called by the OpenEdge HttpClient for every request hop - the
initial request, every followed redirect and every retry - with
that hop's request URI. Defaults the TLS SNI (Server Name
Indication) to the request URI's host name for HTTPS requests
(SCL-5387), so a redirect to a different host gets the SNI of
the redirect target and not the SNI of the original host
(SCL-5428). A ServerNameIndicator set explicitly by the caller
(e.g. through the ClientLibraryBuilder) is not overridden. Per
RFC 6066 the SNI must be a host name, so no SNI is defaulted
when the host is an IP address literal

Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
Request parameters (URL, method, etc)
poResponse OpenEdge.Net.HTTP.IHttpResponse
The HTTP Response
Top

LOGICAL IsIpAddressLiteral (character)

Purpose: Returns if the given host name is an IP address literal
Notes: Per RFC 6066 the SNI extension must carry a host name, never an
IP address literal

Parameters:
pcHost CHARACTER
The host name to check
Returns LOGICAL
Logical value indicating if the host is an IPv4 or IPv6 address literal


Constructor Detail
Top

SmartHttpClientLibrary (character, character, ClientSocket, ClientSocketConnectionParameters, ClientOptions)

Purpose: Constructor for SmartHttpClientLibrary
Notes:

Parameters:
pcLibraryName CHARACTER
This library's name
pcLibraryVersion CHARACTER
This library's version (semver)
poSocket OpenEdge.Net.ServerConnection.ClientSocket
The socket used to execute the request
poSocketConnectionParams OpenEdge.Net.ServerConnection.ClientSocketConnectionParameters
Connection information for the server used
poOptions OpenEdge.Net.HTTP.ClientOptions
Options */


Property Detail
Top

OpenEdge.Net.ServerConnection.ClientSocketConnectionParameters ConnectionParameters


Returns OpenEdge.Net.ServerConnection.ClientSocketConnectionParameters


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.07.2026 16:02:37