Enable TLS encryption to Tensor RT Endpoint

For the inferencing pipeline, we are using TensorRT endpoint. We want to enable TLS encryption to the endpoint. We are planning to use sidecar HAProxy to enable the encryption to the server. But in the python library, we are not able to find the API to invoke https endpoint. How to call https endpoint using python API? Kindly help

I would love to get a better understanding of this as well, with respect to enabling TLS for an edge device like the Jetson family.