Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Bedienungsanleitung Seite 64

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 132
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 63
52 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
5
OS_HTTP_REQUEST::content($value)
Sets the request content to the value specified in $value.
Context
This function called in http response context will have no effect.
Input Parameters
The following table contains the input values.
Return Values
None
Performance impact
Using this function will have a significant impact on system performance.
Example
OS_HTTP_REQUEST::push_header($name, $value)
Inserts the HTTP header value specified by $name and $value. It will insert this value even if the
existing header has the same value as specified by $name.
Context
This function called in http response context will have no effect.
TABLE 49 Input Values
Name Type Description
$value string A string representing the value
of the request content.
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
OS_HTTP_REQUEST::collect();
}
sub HTTP_REQUEST_DATA {
my $content = OS_HTTP_REQUEST::content;
$content =~ s/it is playing/it is working/g;
OS_HTTP_REQUEST::content($content);
OS_SLB::send_to_server;
}
Seitenansicht 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 131 132

Kommentare zu diesen Handbüchern

Keine Kommentare