aboutsummaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2024-08-02 06:25:45 +0300
committerRblSb <msrblsb@gmail.com>2024-08-02 06:25:45 +0300
commit7ee893a287c8992196b0b5f51124074fa7c47f4f (patch)
treeec32c22b059727ecdd6b909870f97da12aceb097 /src/server
parent4df711e1568fedcccb45cd86737d89be6a02e7ad (diff)
Streamable support
closes #49
Diffstat (limited to 'src/server')
-rw-r--r--src/server/ConsoleInput.hx2
-rw-r--r--src/server/HttpServer.hx2
-rw-r--r--src/server/Logger.hx3
-rw-r--r--src/server/Main.hx2
-rw-r--r--src/server/Utils.hx2
-rw-r--r--src/server/YoutubeFallback.hx2
6 files changed, 0 insertions, 13 deletions
diff --git a/src/server/ConsoleInput.hx b/src/server/ConsoleInput.hx
index 4ae729c..cf88df6 100644
--- a/src/server/ConsoleInput.hx
+++ b/src/server/ConsoleInput.hx
@@ -9,8 +9,6 @@ import js.node.Readline;
import sys.FileSystem;
import sys.io.File;
-using StringTools;
-
private typedef CommandData = {
args:Array<String>,
desc:String
diff --git a/src/server/HttpServer.hx b/src/server/HttpServer.hx
index 1a0c4d5..66668a7 100644
--- a/src/server/HttpServer.hx
+++ b/src/server/HttpServer.hx
@@ -12,8 +12,6 @@ import js.node.http.ServerResponse;
import js.node.url.URL;
import sys.FileSystem;
-using StringTools;
-
class HttpServer {
static final mimeTypes = [
"html" => "text/html",
diff --git a/src/server/Logger.hx b/src/server/Logger.hx
index b3ebf53..bf06968 100644
--- a/src/server/Logger.hx
+++ b/src/server/Logger.hx
@@ -6,9 +6,6 @@ import haxe.io.Path;
import sys.FileSystem;
import sys.io.File;
-using Lambda;
-using StringTools;
-
class Logger {
final folder:String;
final maxCount:Int;
diff --git a/src/server/Main.hx b/src/server/Main.hx
index 4f09108..1560f53 100644
--- a/src/server/Main.hx
+++ b/src/server/Main.hx
@@ -23,8 +23,6 @@ import sys.FileSystem;
import sys.io.File;
using ClientTools;
-using Lambda;
-using StringTools;
private typedef MainOptions = {
loadState:Bool
diff --git a/src/server/Utils.hx b/src/server/Utils.hx
index 43160e6..8fcc4c6 100644
--- a/src/server/Utils.hx
+++ b/src/server/Utils.hx
@@ -6,8 +6,6 @@ import js.node.Os;
import js.node.url.URL;
import sys.FileSystem;
-using StringTools;
-
class Utils {
public static function parseArgs(args:Array<String>, caseSensitive = true):Map<String,
String> {
diff --git a/src/server/YoutubeFallback.hx b/src/server/YoutubeFallback.hx
index 34ea8a9..5360283 100644
--- a/src/server/YoutubeFallback.hx
+++ b/src/server/YoutubeFallback.hx
@@ -9,8 +9,6 @@ import js.node.Https.HttpsRequestOptions;
import js.node.url.URLSearchParams;
import utils.YoutubeUtils;
-using Lambda;
-
class YoutubeFallback {
static function httpsGet(
url:String,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage