Skip to content

How to set a global request timeout #448

Closed
@drinksbydrew

Description

@drinksbydrew

Description of the Issue

I'm having a request hang indefinitely. I haven't figured out which one yet. Is there a way to set a global request timeout? I saw a networkSession parameter to the BoxClient constructor but I'm not sure that that's the right thing to use.

I saw in other libraries, like the box-java-library, that there is a way to configure a timeout. I just can't seem to find that for this library.

Versions Used

Typescript SDK: 1.6.0 (box-typescript-sdk-gen)
Platform: node
Node.js (if applicable): 20.12

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions