Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Uživatelský manuál Strana 99

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 98
Brocade Virtual ADX OpenScript API Guide 87
53-1003243-01
Methods
6
Return Values
None.
Example
OS_HTTP_RESPONSE::cookie_count
Returns the number of cookies present in the HTTP response.
Context
This function called in http request context will have no effect.
Usage
Can be used to return the number of cookies present.
Input Parameters
None.
Return Values
The following table contains the return values.
Example
TABLE 103 Return Values
Name Type Description
integer The number of cookies present
in the response.
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
OS_HTTP_RESPONSE::cookie_comment("ServerID", "cookie comment");
}
use OS_HTTP_RESPONSE;
sub HTTP_RESPONSE{
my $cookie_cnt = OS_HTTP_RESPONSE::cookie_count;
}
Zobrazit stránku 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 131 132

Komentáře k této Příručce

Žádné komentáře