Skip to content

what timeout  #32

Description

@jasonwee

Hi, what timeout is that? connection timeout? read timeout ? or summation of them?

requests/requests.go

Lines 230 to 233 in c839e8a

// set timeout s = second
func (req *Request) SetTimeout(n time.Duration) {
req.Client.Timeout = time.Duration(n * time.Second)
}

and if no timeout is specify, what is the default timeout?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions