Show / Hide Table of Contents

    SetTimeout Procedure

    Codeunit Web Wrapper

    Sets the timeout of the HTTP call in milliseconds.

    Overloads

    Name Description
    SetTimeout(Integer) Sets the timeout of the HTTP call in milliseconds.
    SetTimeout(Integer; Boolean) Sets the timeout of the HTTP call in milliseconds.

    SetTimeout(Integer) Procedure

    Sets the timeout of the HTTP call in milliseconds.

    Signature

    SetTimeout(NewTimeout: Integer)
    

    Parameters

    NewTimeout Integer

    The Timeout (in ms).

    SetTimeout(Integer; Boolean) Procedure

    Sets the timeout of the HTTP call in milliseconds.

    Signature

    SetTimeout(NewTimeout: Integer; NewAdjustToRuntimeMaxValue: Boolean)
    

    Parameters

    NewTimeout Integer

    The Timeout (in ms).

    NewAdjustToRuntimeMaxValue Boolean

    The current maximum timeout for the HttpClient is 5 minutes but can be changed later on. See here for more information. Set this parameter to true to automatically decrease the timeout in steps by 30 seconds, until a valid timeout is reached.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX