Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
A Client is a Direct Web Remoting (DWR) client that manages communication with DWR endpoints.
func (*Client) HTTPClient ¶
HTTPClient returns the underlying HTTP client used by the DWR client.
func (*Client) Request ¶
func (c *Client) Request(page, script, method string, args []string, extraParams *Params) (res *http.Response, err error)
Request formats and sends a DWR request (HTTP Post request) with the given DWR configuration. The parameters provided in extraParams will override any base parameter if there the key is already present.
Click to show internal directories.
Click to hide internal directories.