Class: PasteEncrypter

PasteEncrypter()

new PasteEncrypter()

(controller) Responsible for encrypting paste and sending it to server. Does upload, encryption is done transparently by ServerInteraction.
Source:

Methods

(async, static) sendComment()

send a reply in a discussion
Source:

(async, static) sendPaste()

sends a new paste to server
Source:

(private, static) showCreatedPaste(status, data)

called after successful paste upload
Parameters:
Name Type Description
status int
data object
Source:

(private, static) showUploadedComment(status, data)

called after successful comment upload
Parameters:
Name Type Description
status int
data object
Source: