Skip to content

Instantly share code, notes, and snippets.

@joemccall86
joemccall86 / HockeySender.java
Last active March 14, 2016 17:54 — forked from ashtom/HockeySender.java
Custom ReportSender for HockeyApp and ACRA
package net.hockeyapp.android.demo;
public class HockeySender implements ReportSender {
public static final String TAG = "HockeySender";
private static String BASE_URL = "https://rink.hockeyapp.net/api/2/apps/";
private static String CRASHES_PATH = "/crashes";
@Override
public void send(Context context, CrashReportData errorContent) throws ReportSenderException {
@joemccall86
joemccall86 / Caddyfile
Last active March 6, 2016 14:23 — forked from edrex/Caddyfile
localhost
log access.log
proxy /echo 127.0.0.1:8080 {
websocket
# treat the path as if it were sent without the /echo
without /echo
}