Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33103559
client.ex
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
759 B
Referenced Files
None
Subscribers
None
client.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.ReverseProxy.Client
do
@type
status
::
pos_integer
()
@type
header_name
::
String
.
t
()
@type
header_value
::
String
.
t
()
@type
headers
::
[{
header_name
(),
header_value
()}]
@callback
request
(
atom
(),
String
.
t
(),
headers
(),
String
.
t
(),
list
())
::
{
:ok
,
status
(),
headers
(),
reference
()
|
map
()}
|
{
:ok
,
status
(),
headers
()}
|
{
:ok
,
reference
()}
|
{
:error
,
term
()}
@callback
stream_body
(
map
())
::
{
:ok
,
binary
(),
map
()}
|
:done
|
{
:error
,
atom
()
|
String
.
t
()}
@callback
close
(
reference
()
|
pid
()
|
map
())
::
:ok
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 1:58 PM (13 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
973800
Default Alt Text
client.ex (759 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment