the base
This commit is contained in:
@@ -19,4 +19,3 @@ fn (mut h HTTPConnection) header(req Request) Header {
|
||||
|
||||
return h.default_header.join(header)
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user