CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
psyclone_client.http.Reply Class Reference

Public Member Functions

 __init__ (self, status, content_type, body)
 text (self)
 json (self)
 __repr__ (self)

Public Attributes

 status = status
 content_type = content_type
 body = body

Detailed Description

Definition at line 7 of file http.py.

Constructor & Destructor Documentation

◆ __init__()

psyclone_client.http.Reply.__init__ ( self,
status,
content_type,
body )

Definition at line 8 of file http.py.

Member Function Documentation

◆ __repr__()

◆ json()

psyclone_client.http.Reply.json ( self)

Definition at line 17 of file http.py.

References body.

◆ text()

psyclone_client.http.Reply.text ( self)

Definition at line 14 of file http.py.

References body.

Member Data Documentation

◆ body

psyclone_client.http.Reply.body = body

Definition at line 11 of file http.py.

Referenced by __repr__(), json(), and text().

◆ content_type

psyclone_client.http.Reply.content_type = content_type

Definition at line 10 of file http.py.

Referenced by __repr__().

◆ status

psyclone_client.http.Reply.status = status

Definition at line 9 of file http.py.

Referenced by __repr__().


The documentation for this class was generated from the following file:
  • python-client/src/psyclone_client/http.py