Documentation
¶
Index ¶
- type Request
- func (r *Request) Command() string
- func (r *Request) GetRequest(w io.Writer, rd *bufio.Reader) (err error)
- func (r *Request) Host() string
- func (r *Request) Hostname() string
- func (r *Request) Port() string
- func (r *Request) Request(fw *forwarder.Forwarder) (err error)
- func (r *Request) Target() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
Method string
Url string
Proto string
Auth string
PostData []byte // to retry to defend RST
TlsData []byte // to retry to defend RST, ClientHello
Responsed bool
Header textproto.MIMEHeader
URL *url.URL
TryCount byte
}
func (*Request) GetRequest ¶
Request the ClientHello for sending to a remote server. RCWN (Race Cache With Network) or ads blockers would abort dial-in without sendig ClientHello! Drop it.
Click to show internal directories.
Click to hide internal directories.