HttpsTransport | implements ClientTransportInterface. Ctor: (HttpClientInterface $httpClient, HttpsEncodingStrategy $encoding, string $endpointUrl, float $timeoutSeconds = 30.0, ?LoggerInterface $logger = null, ?EventDispatcherInterface $dispatcher = null). Accepts opc.https:// or https:// (normalises opc.https:// → https://). isSecureChannelExternal() → true. |
Encoding\HttpsEncodingStrategy | Interface: contentType(), acceptHeader(), encodeRequest(string $uaTcpFrame), decodeResponse(string $httpBody), fakeAcknowledge(string $helFrame). |
Encoding\BinaryHttpsEncoding | §7.4.4. CONTENT_TYPE = 'application/octet-stream'. Ctor: (int $negotiatedMaxMessageSize = 16*1024*1024, int $negotiatedMaxChunkCount = 0). Production-ready for any service. |
Encoding\JsonHttpsEncoding | §7.4.5. CONTENT_TYPE = 'application/opcua+uajson'. Ctor: (int $negotiatedMaxMessageSize = 16MB, int $negotiatedMaxChunkCount = 0, JsonEncoder $encoder = new, JsonDecoder $decoder = new). register(ServiceCodecInterface $codec). Ships GetEndpointsCodec by default; other services raise UnsupportedEncodingException. |
Encoding\Json\Service\ServiceCodecInterface | binaryRequestTypeId(), jsonRequestTypeId(), binaryResponseTypeId(), jsonResponseTypeId(), encodeRequestBody(BinaryDecoder): array, decodeResponseBody(array): string. |
Encoding\Json\Service\GetEndpointsCodec | The one shipped codec. Binary req TypeId 428, JSON req 426, binary resp 431, JSON resp 429. |
Encoding\Json\JsonEncoder / JsonDecoder | Reversible-mode codecs for NodeId, Variant, DataValue, StatusCode, DateTime. |
Http\HttpClientInterface | post(HttpRequest $request, float $timeoutSeconds): HttpResponse, close(). |
Http\CurlHttpClient | Default impl (ext-curl). Ctor: (bool $verifyTls = true, ?string $caBundle = null, ?string $clientCertPath = null, ?string $clientKeyPath = null, ?string $clientKeyPassword = null, array $extraCurlOptions = []). Reuses one cURL handle (keep-alive + TLS resumption). |
Http\HttpRequest | final readonly: url, body, contentType, acceptHeader, array $extraHeaders = []. |
Http\HttpResponse | final readonly: statusCode, body, array $headers = []. isSuccessful() = 2xx. |