Skip to content

How to change HTTPConfig.readTimeout dynamically? #144

@blackpill

Description

@blackpill

My iOS application provides a long mjpeg stream on web server.
Because of HTTPConfig.readTimeout, the stream will stop when the time reaches HTTPConfig.readTimeout.

Currently, I have to change HTTPConfig.readTimeout to -1 in Telegraph's code.
How can I change HTTPConfig.readTimeout dynamically?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions