Documentation
¶
Index ¶
- type HttpRequest
- func (r *HttpRequest) GetHeaders() map[string]string
- func (r *HttpRequest) GetHost() string
- func (r *HttpRequest) GetMethod() string
- func (r *HttpRequest) GetParameters() string
- func (r *HttpRequest) GetPath() string
- func (r *HttpRequest) GetScheme() string
- func (r *HttpRequest) IsGet() bool
- func (r *HttpRequest) IsValid() bool
- type HttpRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpRequest ¶
type HttpRequest struct { Host string Path string Method string Scheme string Headers map[string]string Parameters string InvalidRequest bool // flag for invalid request when parsing }
func NewHttpRequest ¶
func NewHttpRequest() *HttpRequest
func (*HttpRequest) GetHeaders ¶
func (r *HttpRequest) GetHeaders() map[string]string
func (*HttpRequest) GetHost ¶
func (r *HttpRequest) GetHost() string
func (*HttpRequest) GetMethod ¶
func (r *HttpRequest) GetMethod() string
func (*HttpRequest) GetParameters ¶
func (r *HttpRequest) GetParameters() string
func (*HttpRequest) GetPath ¶
func (r *HttpRequest) GetPath() string
func (*HttpRequest) GetScheme ¶
func (r *HttpRequest) GetScheme() string
func (*HttpRequest) IsGet ¶
func (r *HttpRequest) IsGet() bool
func (*HttpRequest) IsValid ¶
func (r *HttpRequest) IsValid() bool
Click to show internal directories.
Click to hide internal directories.