useCookies() method

This method is used by the network library to check whether it has to send cookies to the server when the current request is performed.

Syntax

public boolean useCookies ()

Returns

the use of cookies in the network library.

Usage

Some requests may deny sending any cookies to the server, in this case this method can be used by the request to signal to the network library. The default value for this is false in the SDMBaseRequest implementation.