server
superduper.misc.server
request_server
​
request_server(service: str = 'vector_search',
data=None,
endpoint='add',
args={},
type='post')
Parameter | Description |
---|---|
service | Service name |
data | Data to send |
endpoint | Endpoint to hit |
args | Arguments to pass |
type | Type of request |
Request server with data.
server_request_decoder
​
server_request_decoder(x)
Parameter | Description |
---|---|
x | Object to decode. |
Decodes a request to SuperDuperApp
service.