Syntax 3: for OAuthRequest objects
Description
Gets the request header by name.
Applies to
Syntax
|
1 |
objectname.GetHeader ( string headerName ) |
|
Argument |
Description |
|---|---|
|
objectname |
A reference to the OAuthRequest object in which you want |
|
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 OAuthRequest lnv_OAuthRequest ls_header = lnv_OAuthRequest.getheader("content-type") |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest