Syntax 2: for TokenResponse objects
Description
Gets the response header by name.
Applies to
TokenResponse objects
Syntax
|
1 |
objectname.GetHeader ( string headerName ) |
|
Argument |
Description |
|---|---|
|
objectname |
A reference to the TokenResponse object in which you |
|
headerName |
A string specifying the header name. |
Return value
String.
Returns the value related to the header name. If any argument’s
value is null, the method returns null.
Examples
The following example shows the use of the GetHeader function to
get the value of the content-type header:
|
1 2 3 4 |
string ls_header TokenResponse lnv_TokenResponse ls_header = lnv_TokenResponse.getheader("content-type") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest