Class LegiScan_Push
LegiScan API Push Interface Class
Framework to process and decode incoming payloads as the endpoint listener in a Push API interface.
Package: LegiScan\API
Copyright: 2010-2020 LegiScan LLC
License: https://opensource.org/licenses/BSD-2-Clause
Author: LegiScan API Team api@legiscan.com
See:
See:
Link: https://api.legiscan.com/dl/
Link: https://legiscan.com/legiscan
Located at LegiScan.php
Copyright: 2010-2020 LegiScan LLC
License: https://opensource.org/licenses/BSD-2-Clause
Author: LegiScan API Team api@legiscan.com
See:
LegiScan_Endpoint
See:
LegiScan_Process
Link: https://api.legiscan.com/dl/
Link: https://legiscan.com/legiscan
Located at LegiScan.php
public
|
|
public
boolean
|
|
public
mixed[]
|
#
getPayload( )
Returns the decoded payload associative array for the most recently processed record |
public
string
|
|
public
|
|
public
|
#
respondError( string $error_message )
Wrapper function around respond() that creates a valid ERROR response |
private
|
protected
array
|
$payload
The decoded payload that was last processed through |
|
protected
string
|
$payload_type
The type of payload that was last processed through |
|
protected
string
|
$form_var
Form variable name in the case of cooked x-www-form-urlencoded payload |