Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/flagd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ A feature flag daemon with a Unix philosophy.
The `FlagdProvider` communicates with flagd via the gRPC protocol. Instantiate a new FlagdProvider instance, and configure the OpenFeature SDK to use it:

```java
FlagdProvider provider = new FlagdProvider("http", "localhost", 8013);
FlagdProvider provider = new FlagdProvider(Protocol.HTTP, "localhost", 8013);
OpenFeatureAPI.getInstance().setProvider(provider);
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package dev.openfeature.contrib.providers.flagd;

enum Protocol {
/**
* Protocol for gRPC connect.
*/
public enum Protocol {
HTTP,
HTTPS
}