new ClientBrowser(callServer [, options])
        Constructor for a Jayson Browser Client that does not depend any node.js core libraries
    
    
    
    
    
    
        Parameters:
| Name | Type | Argument | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| callServer | function | Method that calls the server, receives the stringified request and a regular node-style callback | ||||||||||||||||||||||||||
| options | Object | <optional> | Properties
 | 
- Source:
Returns:
- Type
- ClientBrowser
Methods
- 
    request(method [, params] [, id] [, callback])
- 
    
    Creates a request and dispatches it if given a callback.Parameters:Name Type Argument Description methodString | Array A batch request if passed an Array, or a method name if passed a String paramsArray | Object <optional> 
 Parameters for the method idString | Number <optional> 
 Optional id. If undefined an id will be generated. If null it creates a notification request callbackfunction <optional> 
 Request callback. If specified, executes the request rather than only returning it. - Source:
 Throws:- 
        Invalid parameters
- Type
- TypeError
 Returns:JSON-RPC 1.0 or 2.0 compatible request- Type
- Object