mirror of
https://github.com/bettercap/bettercap
synced 2025-07-10 23:33:28 -07:00
19 lines
280 B
Go
19 lines
280 B
Go
package session_modules
|
|
|
|
type JSHeader struct {
|
|
Name string
|
|
Value string
|
|
}
|
|
|
|
type JSRequest struct {
|
|
Method string
|
|
Version string
|
|
Path string
|
|
Hostname string
|
|
Headers []JSHeader
|
|
Body string
|
|
}
|
|
|
|
func (j *JSRequest) ReadBody() string {
|
|
return "TODO: read body"
|
|
}
|