close(trans_id) This method is used to close the asynchronous connection and remove the information of unique transaction id from the session variable. Parameters: trans_id - unique transaction id.
(trans_id)
| 944 | '/close/<int:trans_id>', methods=["DELETE"], endpoint='close' |
| 945 | ) |
| 946 | def close(trans_id): |
| 947 | """ |
| 948 | close(trans_id) |
| 949 | |
| 950 | This method is used to close the asynchronous connection |
| 951 | and remove the information of unique transaction id from |
| 952 | the session variable. |
| 953 | |
| 954 | Parameters: |
| 955 | trans_id |
| 956 | - unique transaction id. |
| 957 | """ |
| 958 | |
| 959 | close_debugger_session(trans_id) |
| 960 | return make_json_response(data={'status': True}) |
| 961 | |
| 962 | |
| 963 | @blueprint.route( |
nothing calls this directly
no test coverage detected