feat: known options, uri parsing
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
package dev.toad.msg.build;
|
||||
|
||||
import java.net.URISyntaxException;
|
||||
import java.net.UnknownHostException;
|
||||
import java.net.InetSocketAddress;
|
||||
|
||||
public final class MessageNeeds {
|
||||
|
||||
public interface Destination {
|
||||
MessageNeeds.Type uri(String uri) throws URISyntaxException, UnknownHostException;
|
||||
MessageNeeds.Type addr(InetSocketAddress addr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user