class Cryap::InboxService

Defined in:

services/activitypub/inbox.cr

Constant Summary

Log = ::Log.for("Cryap::InboxService")

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(actors : Cryap::ActorsService, delivery : Cryap::DeliveryService, posts : Cryap::PostsService, notification : Cryap::NotificationService, follows : Cryap::FollowsService, streaming : Cryap::StreamingService) #

Class Method Detail

def self.inbox_pipeline #

def self.inbox_pipeline=(inbox_pipeline : Array(Cryap::ActivityPub::MRF)) #

Instance Method Detail

def check_signature(path : String, body : JSON::Any, http_headers : HTTP::Headers) #

def handle_accept(data : JSON::Any) #

def handle_actor_update(data : JSON::Any) #

def handle_announce(data : JSON::Any) #

def handle_create(data : JSON::Any) #

def handle_follow(data : JSON::Any) #

def handle_like(data : JSON::Any) #

def handle_note_create(data) #

def handle_reject(data : JSON::Any) #

def handle_reject_follow(data : JSON::Any) #

def handle_unannounce(data : JSON::Any) #

def handle_undo(data : JSON::Any) #

def handle_unfollow(data : JSON::Any) #

def handle_unlike(data : JSON::Any) #

def handle_update(data : JSON::Any) #

def process(target : LocalAccount, body : JSON::Any, http_headers : HTTP::Headers) #

def sign #