Top Level Namespace
Included Modules
Extended Modules
Defined in:
Constant Summary
-
DBURL =
URI.parse(Config::DB_URL) -
MAX_NESTED_POSTS =
50 -
VERSION =
{{ (`shards version /srv/crystaldoc.info/codeberg-org-cryap-cryap-crystal-main/src`).chomp.stringify }}
Method Summary
- get_driver
-
get_follow_redirects(url, headers : HTTP::Headers | Nil = nil, limit = 10)
HTTP::Client has no redirection follow capability
- get_redis
- handle_client(client)
- start_app(&block : Proc(Nil))
Macro Summary
Class methods inherited from module Cryap::ActivityPub
construct_to_cc(post : Post)
construct_to_cc,
from_boost(json : JSON::Builder, boost : Boost)
from_boost,
from_post(json : JSON::Builder, post : Post, to_cc = construct_to_cc(post))
from_post,
from_post_create(json : JSON::Builder, post : Post)
from_post_create,
from_user(json : JSON::Builder, user : LocalAccount)
from_user,
save_note(note : JSON::Any, limit = MAX_NESTED_POSTS)
save_note
Class methods inherited from module Cryap::Web
domain
domain
Method Detail
HTTP::Client has no redirection follow capability