Module ejabberd_http [erl svg]

Data Types

'query'()

'query'() = list()

request()

request() = term()

Function Index

add_header/3*
analyze_ip_xff/3*
become_controller/1
code_to_phrase/1*
d/1*
decode_base64/1*
drop_spaces/1*
get_headers/1*
get_headers/2*
get_line/1*
get_line/2*
get_req/1*
get_transfer_protocol/2*Given a socket and hostport header, return data of transfer protocol.
get_word/1*
hex_to_integer/1*
init/2
integer_to_hex/1*
is_ipchain_trusted/2*
is_nb_space/1*
is_space/1*
make_text_output/4*
make_xhtml_output/4*
not_eol/1*
old_hex_to_integer/1*
old_integer_to_hex/1*
parse_auth/1*
parse_lang/1*
parse_line/1*
parse_req/1*
parse_request/2*
parse_urlencoded/1*
parse_urlencoded/4*
path_decode/1*Decode a part of the URL and return string().
path_decode/2*
path_norm_reverse/1*
process/2*
process_header/2*
process_request/1*
receive_headers/1
recv_data/2*
recv_data/3*
rest_dir/3*
send_text/2*
socket_type/0
start/2
start_dir/3*
start_link/2
strip_spaces/1*
strip_spaces/2*
url_decode_q_split/1*Split the URL and return {Path, QueryPart}.
url_decode_q_split/2*
url_encode/1

Function Details

add_header/3 *

add_header(Name, Value, State) -> any()

analyze_ip_xff/3 *

analyze_ip_xff(IP, XFF, Host) -> any()

become_controller/1

become_controller(Pid) -> any()

code_to_phrase/1 *

code_to_phrase(X1) -> any()

d/1 *

d(X) -> any()

decode_base64/1 *

decode_base64(Rest) -> any()

drop_spaces/1 *

drop_spaces(YS) -> any()

get_headers/1 *

get_headers(Tail) -> any()

get_headers/2 *

get_headers(H, Tail) -> any()

get_line/1 *

get_line(L) -> any()

get_line/2 *

get_line(Tail, Cur) -> any()

get_req/1 *

get_req(Data) -> any()

get_transfer_protocol/2 *

get_transfer_protocol(SockMod, HostPort) -> {Host::string(), Port::integer(), TP}

Given a socket and hostport header, return data of transfer protocol. Note that HostPort can be a string of a host like "example.org", or a string of a host and port like "example.org:5280".

get_word/1 *

get_word(Line) -> any()

hex_to_integer/1 *

hex_to_integer(Hex) -> any()

init/2

init(X1, Opts) -> any()

integer_to_hex/1 *

integer_to_hex(I) -> any()

is_ipchain_trusted/2 *

is_ipchain_trusted(UserIPs, TrustedIPs) -> any()

is_nb_space/1 *

is_nb_space(X) -> any()

is_space/1 *

is_space(X1) -> any()

make_text_output/4 *

make_text_output(State, Status, Headers, Text) -> any()

make_xhtml_output/4 *

make_xhtml_output(State, Status, Headers, XHTML) -> any()

not_eol/1 *

not_eol(X1) -> any()

old_hex_to_integer/1 *

old_hex_to_integer(Hex) -> any()

old_integer_to_hex/1 *

old_integer_to_hex(I) -> any()

parse_auth/1 *

parse_auth(Orig) -> any()

parse_lang/1 *

parse_lang(Langs) -> any()

parse_line/1 *

parse_line(Con) -> any()

parse_req/1 *

parse_req(Line) -> any()

parse_request/2 *

parse_request(State, Data) -> any()

parse_urlencoded/1 *

parse_urlencoded(S) -> any()

parse_urlencoded/4 *

parse_urlencoded(Tail, Last, Cur, State) -> any()

path_decode/1 *

path_decode(Path) -> any()

Decode a part of the URL and return string()

path_decode/2 *

path_decode(Tail, Ack) -> any()

path_norm_reverse/1 *

path_norm_reverse(T) -> any()

process/2 *

process(Handlers, Request) -> any()

process_header/2 *

process_header(State, Data) -> any()

process_request/1 *

process_request(State) -> any()

receive_headers/1

receive_headers(State) -> any()

recv_data/2 *

recv_data(State, Len) -> any()

recv_data/3 *

recv_data(State, Len, Acc) -> any()

rest_dir/3 *

rest_dir(N, Path, T) -> any()

send_text/2 *

send_text(State, Text) -> any()

socket_type/0

socket_type() -> any()

start/2

start(SockData, Opts) -> any()

start_dir/3 *

start_dir(N, Path, T) -> any()

start_link/2

start_link(SockData, Opts) -> any()

strip_spaces/1 *

strip_spaces(String) -> any()

strip_spaces/2 *

strip_spaces(String, X2) -> any()

url_decode_q_split/1 *

url_decode_q_split(Path) -> any()

Split the URL and return {Path, QueryPart}

url_decode_q_split/2 *

url_decode_q_split(T, Ack) -> any()

url_encode/1

url_encode(T) -> any()


Generated by EDoc, May 23 2012, 07:15:11.