asks/base_funcs.py
async def request(method, uri, **kwargs):
    """Base function for one time http requests.

    Args:
        method (str): The http method to use. For example 'GET'
        uri (str): The url of the resource.
            Example: 'https://example.com/stuff'
        kwargs: Any number of arguments supported, found here:
            http://asks.rtfd.io/en/latest/overview-of-funcs-and-args.html

    Returns:
        Response (asks.Response): The Response object.
    """
    c_interact = kwargs.pop("persist_cookies", None)
    ssl_context = kwargs.pop("ssl_context", None)
    async with Session(persist_cookies=c_interact, ssl_context=ssl_context) as s:
        r = await s.request(method, url=uri, **kwargs)
        return r
Base function for one time http requests.

    Args:
        method (str): The http method to use. For example 'GET'
        uri (str): The url of the resource.
            Example: 'https://example.com/stuff'
        kwargs: Any number of arguments supported, found here:
            http://asks.rtfd.io/en/latest/overview-of-funcs-and-args.html

    Returns:
        Response (asks.Response): The Response object.
    
Base function for one time http requests.
Base function for one time http requests .
async def request(method, uri, **kwargs):
    c_interact = kwargs.pop("persist_cookies", None)
    ssl_context = kwargs.pop("ssl_context", None)
    async with Session(persist_cookies=c_interact, ssl_context=ssl_context) as s:
        r = await s.request(method, url=uri, **kwargs)
        return r
async def request ( method , uri , ** kwargs ) : c_interact = kwargs . pop ( "persist_cookies" , None ) ssl_context = kwargs . pop ( "ssl_context" , None ) async with Session ( persist_cookies = c_interact , ssl_context = ssl_context ) as s : r = await s . request ( method , url = uri , ** kwargs ) return r
Base function for one time http requests.
Base function for one time http requests .
"""Base function for one time http requests.

    Args:
        method (str): The http method to use. For example 'GET'
        uri (str): The url of the resource.
            Example: 'https://example.com/stuff'
        kwargs: Any number of arguments supported, found here:
            http://asks.rtfd.io/en/latest/overview-of-funcs-and-args.html

    Returns:
        Response (asks.Response): The Response object.
    """
None
method
The http method to use. For example 'GET'
The http method to use . For example ' GET '
uri
The url of the resource.
The url of the resource .
kwargs
None