forked from OpenKore/openkore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHttpReader.pm
More file actions
33 lines (23 loc) · 837 Bytes
/
HttpReader.pm
File metadata and controls
33 lines (23 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#########################################################################
# OpenKore - Asynchronous HTTP client
#
# This software is open source, licensed under the GNU General Public
# License, version 2.
# Basically, this means that you're allowed to modify and distribute
# this software. However, if you distribute modified versions, you MUST
# also distribute the source code.
# See http://www.gnu.org/licenses/gpl.html for the full license.
#########################################################################
package HttpReader;
use strict;
use XSTools;
use constant CONNECTING => 0;
use constant DOWNLOADING => 1;
use constant DONE => 2;
use constant ERROR => 3;
XSTools::bootModule('Utils::HttpReader');
package StdHttpReader;
use base qw(HttpReader);
package MirrorHttpReader;
use base qw(HttpReader);
1;