This commit is contained in:
2025-10-19 13:28:13 +07:00
12 changed files with 149 additions and 98 deletions
+30
View File
@@ -0,0 +1,30 @@
package http
import "git.3crabs.ru/VLADIMIR/net/url"
type Request struct {
ConnectPath string // ip
Method string
URL *url.URL
Protocol string
Headers []Header
Body []byte
}
type Response struct {
Protocol string
StatusCode string
StatusMessage string
Headers []Header
Body []byte
}
type Header struct {
Name string
Value string
}