Lines Matching refs:HTTP

410     enum auto isCurlConn = is(Conn : HTTP) ||  in isCurlConn()
431 static if (is(Conn : HTTP) || is(Conn : FTP))
444 return download!HTTP(url, saveToPath, HTTP());
488 static if (is(Conn : HTTP))
491 conn.method = HTTP.Method.put;
503 return upload!HTTP(loadFromPath, url, HTTP());
506 static if (is(Conn : HTTP) || is(Conn : FTP))
573 static if (is(Conn : HTTP))
575 conn.method = HTTP.Method.get;
588 return get!(HTTP,T)(url, HTTP());
638 T[] post(T = char, PostUnit)(const(char)[] url, const(PostUnit)[] postData, HTTP conn = HTTP())
641 conn.method = HTTP.Method.post;
681 T[] post(T = char)(const(char)[] url, string[string] postDict, HTTP conn = HTTP())
742 static if (is(Conn : HTTP))
744 conn.method = HTTP.Method.put;
756 return put!(HTTP,T)(url, putData, HTTP());
796 static if (is(Conn : HTTP))
798 conn.method = HTTP.Method.del;
824 return del!HTTP(url, HTTP());
867 T[] options(T = char)(const(char)[] url, HTTP conn = HTTP())
870 conn.method = HTTP.Method.options;
909 T[] trace(T = char)(const(char)[] url, HTTP conn = HTTP())
912 conn.method = HTTP.Method.trace;
950 T[] connect(T = char)(const(char)[] url, HTTP conn = HTTP())
953 conn.method = HTTP.Method.connect;
996 HTTP conn = HTTP())
999 conn.method = HTTP.Method.patch;
1024 private auto _basicHTTP(T)(const(char)[] url, const(void)[] sendData, HTTP client) in _basicHTTP()
1032 (client.method == HTTP.Method.post || in _basicHTTP()
1033 client.method == HTTP.Method.put || in _basicHTTP()
1034 client.method == HTTP.Method.patch); in _basicHTTP()
1050 HTTP.StatusLine statusLine; in _basicHTTP()
1095 client.onReceiveStatusLine = (HTTP.StatusLine l) { statusLine = l; }; in _basicHTTP()
1138 auto http = HTTP();
1154 auto client = HTTP();
1165 client = HTTP();
1468 static if (is(Conn : HTTP)) in _getForRange()
1470 conn.method = conn.method == HTTP.Method.undefined ? HTTP.Method.get : conn.method; in _getForRange()
1482 return get!(HTTP,T)(url, HTTP()); in _getForRange()
1687 terminator, transmitBuffers, HTTP());
1719 terminator, transmitBuffers, HTTP());
1811 transmitBuffers, HTTP());
1841 transmitBuffers, HTTP());
2097 auto http = HTTP(testServer.addr); in Protocol()
2386 struct HTTP struct
2520 static HTTP opCall(const(char)[] url) in opCall() argument
2522 HTTP http; in opCall()
2529 static HTTP opCall() in opCall() argument
2531 HTTP http; in opCall()
2537 HTTP dup() in dup() argument
2539 HTTP copy; in dup()
2560 maxRedirects = HTTP.defaultMaxRedirects; in initialize() argument
2563 setUserAgent(HTTP.defaultUserAgent); in initialize()
3043 void setTimeCondition(HTTP.TimeCond cond, SysTime timestamp)
3132 auto http = HTTP(testServer.addr~"/path"); argument
3300 auto http = HTTP(testServer.addr);
4118 Exception thrown on HTTP request failures, e.g. 404 Not Found.
4124 status = The HTTP status code.
5150 static if ( is(Conn : HTTP) ) in _async()
5153 connDup.method = conn.method == HTTP.Method.undefined ? in _async()
5154 HTTP.Method.get : conn.method; in _async()
5157 if (connDup.method == HTTP.Method.put) in _async()
5165 connDup.method = HTTP.Method.post; in _async()
5180 tid.send(HTTP.Method.undefined); in _async()
5227 auto method = receiveOnly!(HTTP.Method)(); in _async()
5242 static if ( is(Conn == HTTP) ) in _async()