io.github.hapjava.server.impl.http.HomekitClientConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hap Show documentation
Show all versions of hap Show documentation
Homekit Accessory Protocol for Java
package io.github.hapjava.server.impl.http;
import java.io.IOException;
public interface HomekitClientConnection {
HttpResponse handleRequest(HttpRequest request) throws IOException;
byte[] decryptRequest(byte[] ciphertext);
byte[] encryptResponse(byte[] plaintext) throws IOException;
void close();
void outOfBand(HttpResponse message);
}