Statistics
| Branch: | Revision:

root / asi-http-request-with-pithos / Classes / ASIHTTPRequestConfig.h @ cc176feb

History | View | Annotate | Download (1.3 kB)

1
//
2
//  ASIHTTPRequestConfig.h
3
//  Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
4
//
5
//  Created by Ben Copsey on 14/12/2009.
6
//  Copyright 2009 All-Seeing Interactive. All rights reserved.
7
//
8

    
9

    
10
// ======
11
// Debug output configuration options
12
// ======
13

    
14
// If defined will use the specified function for debug logging
15
// Otherwise use NSLog
16
#ifndef ASI_DEBUG_LOG
17
    #define ASI_DEBUG_LOG NSLog
18
#endif
19

    
20
// When set to 1 ASIHTTPRequests will print information about what a request is doing
21
#ifndef DEBUG_REQUEST_STATUS
22
        #define DEBUG_REQUEST_STATUS 0
23
#endif
24

    
25
// When set to 1, ASIFormDataRequests will print information about the request body to the console
26
#ifndef DEBUG_FORM_DATA_REQUEST
27
        #define DEBUG_FORM_DATA_REQUEST 0
28
#endif
29

    
30
// When set to 1, ASIHTTPRequests will print information about bandwidth throttling to the console
31
#ifndef DEBUG_THROTTLING
32
        #define DEBUG_THROTTLING 0
33
#endif
34

    
35
// When set to 1, ASIHTTPRequests will print information about persistent connections to the console
36
#ifndef DEBUG_PERSISTENT_CONNECTIONS
37
        #define DEBUG_PERSISTENT_CONNECTIONS 0
38
#endif
39

    
40
// When set to 1, ASIHTTPRequests will print information about HTTP authentication (Basic, Digest or NTLM) to the console
41
#ifndef DEBUG_HTTP_AUTHENTICATION
42
    #define DEBUG_HTTP_AUTHENTICATION 0
43
#endif