spetz opened a new pull request, #3373: URL: https://github.com/apache/iggy/pull/3373
The SDK only exposed the commands it explicitly wraps, with no public way to issue an arbitrary one. This left no room for extending a deployment with custom server commands without modifying the SDK. Expose two inherent methods on IggyClient: send_binary_request(code, payload) for the binary transports (TCP, QUIC, WebSocket) and send_http_request(method, path, body) for HTTP, each returning the raw response bytes. Both reuse the live authenticated connection, framing, and reconnect logic. Calling the binary method on HTTP or the reverse returns FeatureUnavailable. These methods stay off the Client trait to avoid burdening every transport with calls meaningless to it. The HttpMethod enum lives in iggy_common so the trait carries no concrete HTTP client dependency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
