How to use connection timeout when using rest api?
See this link https://www.wowza.com/docs/wowza-streaming-engine-rest-api-overview. But mostly timeout is set on the client that reads the url and not on the server side.
Whatever client you are using to consume the api should be having a read timeout configuration. Like this https://www.baeldung.com/httpclient-timeout