Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clearSession #1

Open
Novarg1 opened this issue Nov 4, 2011 · 0 comments
Open

clearSession #1

Novarg1 opened this issue Nov 4, 2011 · 0 comments

Comments

@Novarg1
Copy link

Novarg1 commented Nov 4, 2011

  • (void)setOptionsOnRequest:(ASIHTTPRequest *)request {
    [request setUsername:self.username];
    [request setPassword:self.password];
    [ASIHTTPRequest clearSession];
    if (self.timeoutSeconds) {
    [request setTimeOutSeconds:self.timeoutSeconds];
    }
    if (self.headers) {
    [self.headers enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
    [request addRequestHeader:key value:obj];
    }];
    }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant