This commit is contained in:
2024-12-25 11:44:17 +01:00
parent 27ef87f9c7
commit fbae8eeb2a
38 changed files with 1021 additions and 35 deletions

View File

@@ -19,4 +19,3 @@ fn (mut h HTTPConnection) header(req Request) Header {
return h.default_header.join(header)
}

View File

@@ -3,7 +3,6 @@ module httpconnection
import net.http
import freeflowuniverse.herolib.clients.redisclient { RedisURL }
@[params]
pub struct HTTPConnectionArgs {
pub:
@@ -34,6 +33,4 @@ pub fn new(args HTTPConnectionArgs) !&HTTPConnection {
base_url: args.url.trim('/')
}
return &conn
}