diff --git a/phpdoc.nostr-php.dev/classes/ConvertTest.html b/phpdoc.nostr-php.dev/classes/ConvertTest.html index 9dff69a..e4f6c95 100644 --- a/phpdoc.nostr-php.dev/classes/ConvertTest.html +++ b/phpdoc.nostr-php.dev/classes/ConvertTest.html @@ -193,6 +193,8 @@

+ +

Methods diff --git a/phpdoc.nostr-php.dev/classes/GenerateTest.html b/phpdoc.nostr-php.dev/classes/GenerateTest.html index 0095ad9..f2b47db 100644 --- a/phpdoc.nostr-php.dev/classes/GenerateTest.html +++ b/phpdoc.nostr-php.dev/classes/GenerateTest.html @@ -193,6 +193,8 @@

+ +

Methods diff --git a/phpdoc.nostr-php.dev/classes/RelayResponseTest.html b/phpdoc.nostr-php.dev/classes/RelayResponseTest.html new file mode 100644 index 0000000..01ef725 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/RelayResponseTest.html @@ -0,0 +1,379 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
+

nostr-php

+ + + + +
+ +
+
+ + + +
+
+
    +
+ +
+

+ RelayResponseTest + + + extends TestCase + + +
+ in package + +
+ + +

+ +
+ + +
+ + + + + + + + + +

+ Table of Contents + + +

+ + + + + + + + + + +

+ Methods + + +

+
+
+ testSendRequestToRelayAndResultAuth() + +  : mixed +
+ +
+ + + + + + + + + + +
+

+ Methods + + +

+
+

+ testSendRequestToRelayAndResultAuth() + + +

+ + + + + public + testSendRequestToRelayAndResultAuth() : mixed + +
+
+ + + + + +
+
+ +
+
+
+
+

+        
+ +
+
+ + + +
+
+
+ +
+ On this page + + +
+ +
+
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    + + +
    + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/RelaySetTest.html b/phpdoc.nostr-php.dev/classes/RelaySetTest.html new file mode 100644 index 0000000..2eccfa0 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/RelaySetTest.html @@ -0,0 +1,381 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
    +

    nostr-php

    + + + + +
    + +
    +
    + + + +
    +
    +
      +
    + +
    +

    + RelaySetTest + + + extends TestCase + + +
    + in package + +
    + + +

    + +
    + + +
    + + + + + + + + + +

    + Table of Contents + + +

    + + + + + + + + + + +

    + Methods + + +

    +
    +
    + testSendNoteToRelaySet() + +  : mixed +
    +
    Tests sending a note to a set of relays.
    + +
    + + + + + + + + + + +
    +

    + Methods + + +

    +
    +

    + testSendNoteToRelaySet() + + +

    + + +

    Tests sending a note to a set of relays.

    + + + public + testSendNoteToRelaySet() : mixed + +
    +
    + + + + + +
    +
    + +
    +
    +
    +
    +
    
    +        
    + +
    +
    + + + +
    +
    +
    + +
    + On this page + + +
    + +
    +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      + + +
      + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/RelayTest.html b/phpdoc.nostr-php.dev/classes/RelayTest.html index 700358a..a2b9450 100644 --- a/phpdoc.nostr-php.dev/classes/RelayTest.html +++ b/phpdoc.nostr-php.dev/classes/RelayTest.html @@ -193,6 +193,8 @@

      + +

      Methods diff --git a/phpdoc.nostr-php.dev/classes/RequestTest.html b/phpdoc.nostr-php.dev/classes/RequestTest.html new file mode 100644 index 0000000..aa50ba0 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/RequestTest.html @@ -0,0 +1,381 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
      +

      nostr-php

      + + + + +
      + +
      +
      + + + +
      +
      +
        +
      + +
      +

      + RequestTest + + + extends TestCase + + +
      + in package + +
      + + +

      + +
      + + +
      + + + + + + + + + +

      + Table of Contents + + +

      + + + + + + + + + + +

      + Methods + + +

      +
      +
      + testSendRequestToRelay() + +  : mixed +
      +
      Tests sending a request to a relay.
      + +
      + + + + + + + + + + +
      +

      + Methods + + +

      +
      +

      + testSendRequestToRelay() + + +

      + + +

      Tests sending a request to a relay.

      + + + public + testSendRequestToRelay() : mixed + +
      +
      + + + + + +
      +
      + +
      +
      +
      +
      +
      
      +        
      + +
      +
      + + + +
      +
      +
      + +
      + On this page + + +
      + +
      +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        + + +
        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/SerializeTest.html b/phpdoc.nostr-php.dev/classes/SerializeTest.html index bb1c9f2..a8dad21 100644 --- a/phpdoc.nostr-php.dev/classes/SerializeTest.html +++ b/phpdoc.nostr-php.dev/classes/SerializeTest.html @@ -193,6 +193,8 @@

        + +

        Methods diff --git a/phpdoc.nostr-php.dev/classes/VerifyTest.html b/phpdoc.nostr-php.dev/classes/VerifyTest.html index fa45b53..5d52590 100644 --- a/phpdoc.nostr-php.dev/classes/VerifyTest.html +++ b/phpdoc.nostr-php.dev/classes/VerifyTest.html @@ -204,6 +204,8 @@

        + +

        Methods diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Application-Client.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Application-Client.html index 5be7eaf..e22799b 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-Application-Client.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Application-Client.html @@ -199,6 +199,8 @@

        + +

        Methods @@ -227,7 +229,7 @@

        public - run( $args) : void + run(mixed $args) : void
        @@ -236,7 +238,7 @@

        Parameters
        $args - : + : mixed
        diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-CommandResultInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-CommandResultInterface.html index f36b798..3cafe89 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-CommandResultInterface.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-CommandResultInterface.html @@ -195,6 +195,8 @@

        + +

        Methods diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Event-Event.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Event-Event.html index f0d9358..fa57a5e 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-Event-Event.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Event-Event.html @@ -385,6 +385,8 @@

        + +

        Properties @@ -1284,7 +1286,13 @@

        Parameters
        : array<string|int, mixed>
        - +

        [] +[ +["e", "..."], +["p", "...", "..."], +]

        +
        +

        @@ -1330,9 +1338,7 @@
        Parameters
        : array<string|int, mixed> = []
        -

        Properties to ignore.

        -
        - +
        diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-EventInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-EventInterface.html index b59ab50..22b6d1d 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-EventInterface.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-EventInterface.html @@ -301,6 +301,8 @@

        + +

        Methods @@ -917,7 +919,13 @@

        Parameters
        : array<string|int, mixed>
        - +

        [] +[ +["e", "..."], +["p", "...", "..."], +]

        +
        +
        @@ -963,9 +971,7 @@
        Parameters
        : array<string|int, mixed> = []
        -

        Properties to ignore.

        -
        - +
        diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Filter-Filter.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Filter-Filter.html new file mode 100644 index 0000000..2eb8b64 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Filter-Filter.html @@ -0,0 +1,1291 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
        +

        nostr-php

        + + + + +
        + +
        +
        + + + +
        +
        + + +
        +

        + Filter + + +
        + in package + +
        + + + implements + FilterInterface + +

        + +
        + + +
        + + + + + + + + + +

        + Table of Contents + + +

        + + + +

        + Interfaces + + +

        +
        +
        FilterInterface
        + + + + + + +

        + Properties + + +

        +
        +
        + $authors + +  : array<string|int, mixed> +
        +
        A list of lowercase pubkeys, the pubkey of an event must be one of these
        + +
        + $etags + +  : array<string|int, mixed> +
        +
        A list of #e tag values (list of event ids)
        + +
        + $ids + +  : array<string|int, mixed> +
        +
        A list of event ids
        + +
        + $kinds + +  : array<string|int, mixed> +
        +
        A list of a kind numbers
        + +
        + $limit + +  : int +
        +
        Maximum number of events relays SHOULD return in the initial query
        + +
        + $ptags + +  : array<string|int, mixed> +
        +
        A list of #p tag values (list of pubkeys).
        + +
        + $since + +  : int +
        +
        An integer unix timestamp in seconds, events must be newer than this to pass
        + +
        + $until + +  : int +
        +
        An integer unix timestamp in seconds, events must be older than this to pass
        + +
        + +

        + Methods + + +

        +
        +
        + isLowercaseHex() + +  : bool +
        +
        Check if a given string is a 64-character lowercase hexadecimal value.
        + +
        + isValidTimestamp() + +  : bool +
        +
        Check if a given timestamp is valid.
        + +
        + setAuthors() + +  : static +
        +
        Set the authors for the Filter object.
        + +
        + setIds() + +  : $this +
        +
        Set the ids for filtering multiple events.
        + +
        + setKinds() + +  : static +
        +
        Set the kinds for the Filter object.
        + +
        + setLimit() + +  : static +
        +
        Set the limit for the Filter object.
        + +
        + setLowercaseETags() + +  : Filter +
        +
        Set the #e tag for the Filter object.
        + +
        + setLowercasePTags() + +  : Filter +
        +
        Set the #p tag for the Filter object.
        + +
        + setSince() + +  : static +
        +
        Set since parameter for the Filter object.
        + +
        + setUntil() + +  : static +
        +
        Set the until for the Filter object.
        + +
        + toArray() + +  : array<string|int, mixed> +
        +
        Return an array representation of the object by iterating through its properties.
        + +
        + + + + + + + + + +
        +

        + Properties + + +

        +
        +

        + $authors + + + + +

        + + +

        A list of lowercase pubkeys, the pubkey of an event must be one of these

        + + + public + array<string|int, mixed> + $authors + + + + + + +
        +
        +

        + $etags + + + + +

        + + +

        A list of #e tag values (list of event ids)

        + + + public + array<string|int, mixed> + $etags + + + + + + +
        +
        +

        + $ids + + + + +

        + + +

        A list of event ids

        + + + public + array<string|int, mixed> + $ids + + + + + + +
        +
        +

        + $kinds + + + + +

        + + +

        A list of a kind numbers

        + + + public + array<string|int, mixed> + $kinds + + + + + + +
        +
        +

        + $limit + + + + +

        + + +

        Maximum number of events relays SHOULD return in the initial query

        + + + public + int + $limit + + + + + + +
        +
        +

        + $ptags + + + + +

        + + +

        A list of #p tag values (list of pubkeys).

        + + + public + array<string|int, mixed> + $ptags + + + + + + +
        +
        +

        + $since + + + + +

        + + +

        An integer unix timestamp in seconds, events must be newer than this to pass

        + + + public + int + $since + + + + + + +
        +
        +

        + $until + + + + +

        + + +

        An integer unix timestamp in seconds, events must be older than this to pass

        + + + public + int + $until + + + + + + +
        +
        + +
        +

        + Methods + + +

        +
        +

        + isLowercaseHex() + + +

        + + +

        Check if a given string is a 64-character lowercase hexadecimal value.

        + + + public + isLowercaseHex(string $string) : bool + +
        +
        + +
        Parameters
        +
        +
        + $string + : string +
        +
        + +
        +
        + + + +
        +
        Return values
        + bool +
        + +
        +
        +

        + isValidTimestamp() + + +

        + + +

        Check if a given timestamp is valid.

        + + + public + isValidTimestamp(mixed $timestamp) : bool + +
        +
        + +
        Parameters
        +
        +
        + $timestamp + : mixed +
        +
        + +
        +
        + + + +
        +
        Return values
        + bool +
        + +
        +
        +

        + setAuthors() + + +

        + + +

        Set the authors for the Filter object.

        + + + public + setAuthors(array<string|int, mixed> $pubkeys) : static + +
        +
        + +
        Parameters
        +
        +
        + $pubkeys + : array<string|int, mixed> +
        +
        + +
        +
        + + + +
        +
        Return values
        + static +
        + +
        +
        +

        + setIds() + + +

        + + +

        Set the ids for filtering multiple events.

        + + + public + setIds(array<string|int, mixed> $ids) : $this + +
        +
        + +
        Parameters
        +
        +
        + $ids + : array<string|int, mixed> +
        +
        + +
        +
        + + + +
        +
        Return values
        + $this +
        + +
        +
        +

        + setKinds() + + +

        + + +

        Set the kinds for the Filter object.

        + + + public + setKinds(array<string|int, mixed> $kinds) : static + +
        +
        + +
        Parameters
        +
        +
        + $kinds + : array<string|int, mixed> +
        +
        + +
        +
        + + + +
        +
        Return values
        + static +
        + +
        +
        +

        + setLimit() + + +

        + + +

        Set the limit for the Filter object.

        + + + public + setLimit(int $limit) : static + +
        +
        + +
        Parameters
        +
        +
        + $limit + : int +
        +
        + +
        +
        + + + +
        +
        Return values
        + static +
        + +
        +
        +

        + setLowercaseETags() + + +

        + + +

        Set the #e tag for the Filter object.

        + + + public + setLowercaseETags(array<string|int, mixed> $etags) : Filter + +
        +
        + +
        Parameters
        +
        +
        + $etags + : array<string|int, mixed> +
        +
        + +
        +
        + + + +
        +
        Return values
        + Filter +
        + +
        +
        +

        + setLowercasePTags() + + +

        + + +

        Set the #p tag for the Filter object.

        + + + public + setLowercasePTags(array<string|int, mixed> $ptags) : Filter + +
        +
        + +
        Parameters
        +
        +
        + $ptags + : array<string|int, mixed> +
        +
        + +
        +
        + + + +
        +
        Return values
        + Filter +
        + +
        +
        +

        + setSince() + + +

        + + +

        Set since parameter for the Filter object.

        + + + public + setSince(int $since) : static + +
        +
        + +
        Parameters
        +
        +
        + $since + : int +
        +
        + +
        +
        + + + +
        +
        Return values
        + static +
        + +
        +
        +

        + setUntil() + + +

        + + +

        Set the until for the Filter object.

        + + + public + setUntil(int $until) : static + +
        +
        + +
        Parameters
        +
        +
        + $until + : int +
        +
        + +
        +
        + + + +
        +
        Return values
        + static +
        + +
        +
        +

        + toArray() + + +

        + + +

        Return an array representation of the object by iterating through its properties.

        + + + public + toArray() : array<string|int, mixed> + +
        +
        + + + + +
        +
        Return values
        + array<string|int, mixed> +
        + +
        +
        + +
        +
        +
        +
        +
        
        +        
        + +
        +
        + + + +
        +
        +
        + +
        + On this page + + +
        + +
        +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          + + +
          + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-FilterInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-FilterInterface.html new file mode 100644 index 0000000..fa8113c --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-FilterInterface.html @@ -0,0 +1,889 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
          +

          nostr-php

          + + + + +
          + +
          +
          + + + +
          +
          + + +
          +

          + FilterInterface +
          + in + +
          +

          + + + + + + + + + +

          + Table of Contents + + +

          + + + + + + + + + + +

          + Methods + + +

          +
          +
          + isLowercaseHex() + +  : bool +
          +
          Check if a given string is a 64-character lowercase hexadecimal value.
          + +
          + isValidTimestamp() + +  : bool +
          +
          Check if a given timestamp is valid.
          + +
          + setAuthors() + +  : static +
          +
          Set the authors for the Filter object.
          + +
          + setKinds() + +  : static +
          +
          Set the kinds for the Filter object.
          + +
          + setLimit() + +  : static +
          +
          Set the limit for the Filter object.
          + +
          + setLowercaseETags() + +  : static +
          +
          Set the tag for the Filter object.
          + +
          + setLowercasePTags() + +  : static +
          +
          Set the #p tag for the Filter object.
          + +
          + setSince() + +  : static +
          +
          Set the since for the Filter object.
          + +
          + setUntil() + +  : static +
          +
          Set the until for the Filter object.
          + +
          + toArray() + +  : array<string|int, mixed> +
          +
          Return an array representation of the object by iterating through its properties.
          + +
          + + + + + + + + +
          +

          + Methods + + +

          +
          +

          + isLowercaseHex() + + +

          + + +

          Check if a given string is a 64-character lowercase hexadecimal value.

          + + + public + isLowercaseHex(string $string) : bool + +
          +
          + +
          Parameters
          +
          +
          + $string + : string +
          +
          +

          The string to check.

          +
          + +
          +
          + + + +
          +
          Return values
          + bool + — +

          True if the string is a 64-character lowercase hexadecimal value, false otherwise.

          +
          + +
          + +
          +
          +

          + isValidTimestamp() + + +

          + + +

          Check if a given timestamp is valid.

          + + + public + isValidTimestamp(mixed $timestamp) : bool + +
          +
          + +
          Parameters
          +
          +
          + $timestamp + : mixed +
          +
          +

          The timestamp to check.

          +
          + +
          +
          + + + +
          +
          Return values
          + bool + — +

          True if the timestamp is valid, false otherwise.

          +
          + +
          + +
          +
          +

          + setAuthors() + + +

          + + +

          Set the authors for the Filter object.

          + + + public + setAuthors(array<string|int, mixed> $pubkey) : static + +
          +
          + +
          Parameters
          +
          +
          + $pubkey + : array<string|int, mixed> +
          +
          +

          The array of authors to set.

          +
          + +
          +
          + + + +
          +
          Return values
          + static +
          + +
          +
          +

          + setKinds() + + +

          + + +

          Set the kinds for the Filter object.

          + + + public + setKinds(array<string|int, mixed> $kinds) : static + +
          +
          + +
          Parameters
          +
          +
          + $kinds + : array<string|int, mixed> +
          +
          +

          The array of kinds to set.

          +
          + +
          +
          + + + +
          +
          Return values
          + static +
          + +
          +
          +

          + setLimit() + + +

          + + +

          Set the limit for the Filter object.

          + + + public + setLimit(int $limit) : static + +
          +
          + +
          Parameters
          +
          +
          + $limit + : int +
          +
          +

          The limit to set.

          +
          + +
          +
          + + + +
          +
          Return values
          + static +
          + +
          +
          +

          + setLowercaseETags() + + +

          + + +

          Set the tag for the Filter object.

          + + + public + setLowercaseETags(array<string|int, mixed> $tag) : static + +
          +
          + +
          Parameters
          +
          +
          + $tag + : array<string|int, mixed> +
          +
          +

          The array of tag to set.

          +
          + +
          +
          + + + +
          +
          Return values
          + static +
          + +
          +
          +

          + setLowercasePTags() + + +

          + + +

          Set the #p tag for the Filter object.

          + + + public + setLowercasePTags(array<string|int, mixed> $ptag) : static + +
          +
          + +
          Parameters
          +
          +
          + $ptag + : array<string|int, mixed> +
          +
          +

          The array of tag to set.

          +
          + +
          +
          + + + +
          +
          Return values
          + static +
          + +
          +
          +

          + setSince() + + +

          + + +

          Set the since for the Filter object.

          + + + public + setSince(int $since) : static + +
          +
          + +
          Parameters
          +
          +
          + $since + : int +
          +
          +

          The limit to set.

          +
          + +
          +
          + + + +
          +
          Return values
          + static +
          + +
          +
          +

          + setUntil() + + +

          + + +

          Set the until for the Filter object.

          + + + public + setUntil(int $until) : static + +
          +
          + +
          Parameters
          +
          +
          + $until + : int +
          +
          +

          The limit to set.

          +
          + +
          +
          + + + +
          +
          Return values
          + static +
          + +
          +
          +

          + toArray() + + +

          + + +

          Return an array representation of the object by iterating through its properties.

          + + + public + toArray() : array<string|int, mixed> + +
          +
          + + + + +
          +
          Return values
          + array<string|int, mixed> + — +

          The array representation of the object.

          +
          + +
          + +
          +
          + +
          +
          +
          +
          +
          
          +        
          + +
          +
          + + + +
          +
          +
          + +
          + On this page + + +
          + +
          +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            + + +
            + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Key-Key.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Key-Key.html index e40b4b0..19241d4 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-Key-Key.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Key-Key.html @@ -182,21 +182,21 @@

             : string -
            Convert a private hex key to bech32.
            +
            Convert a private hex key to bech32 encoded string (nsec).
            convertPublicKeyToBech32()  : string
            -
            Convert a public hex key to bech32.
            +
            Convert a public hex key to a bech32 encoded string (npub).
            convertToHex()  : string
            -
            Convert a key to hex.
            +
            Convert a bech32 encoded key to hex key.
            generatePrivateKey() @@ -210,14 +210,14 @@

             : string

            -
            Generate public key from private key as hex.
            +
            Generate public hex key from private hex key.
            convertToBech32()  : string
            -
            Convert a hex key to bech32.
            +
            Convert a hex key to bech32 encoded string.
            @@ -228,6 +228,8 @@

            + +

            Methods @@ -248,11 +250,11 @@

            -

            Convert a private hex key to bech32.

            +

            Convert a private hex key to bech32 encoded string (nsec).

            public @@ -294,11 +296,11 @@

            -

            Convert a public hex key to bech32.

            +

            Convert a public hex key to a bech32 encoded string (npub).

            public @@ -344,7 +346,7 @@

            -

            Convert a key to hex.

            +

            Convert a bech32 encoded key to hex key.

            public @@ -426,7 +428,7 @@

            -

            Generate public key from private key as hex.

            +

            Generate public hex key from private hex key.

            public @@ -468,11 +470,11 @@

            -

            Convert a hex key to bech32.

            +

            Convert a hex key to bech32 encoded string.

            protected diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-CloseMessage.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-CloseMessage.html new file mode 100644 index 0000000..c3963ef --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-CloseMessage.html @@ -0,0 +1,595 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
            +

            nostr-php

            + + + + +
            + +
            +
            + + + +
            +
            + + +
            +

            + CloseMessage + + +
            + in package + +
            + + + implements + MessageInterface + +

            + +
            + + +
            + + + + + + + + + +

            + Table of Contents + + +

            + + + +

            + Interfaces + + +

            +
            +
            MessageInterface
            + + + + + + +

            + Properties + + +

            +
            +
            + $subscriptionId + +  : string +
            +
            Subscription ID
            + +
            + $type + +  : string +
            + +
            + +

            + Methods + + +

            +
            +
            + __construct() + +  : mixed +
            + +
            + generate() + +  : string +
            +
            Generate the message ready to be sent to a relay.
            + +
            + setType() + +  : void +
            +
            Set message type.
            + +
            + + + + + + + + + +
            +

            + Properties + + +

            +
            +

            + $subscriptionId + + + + +

            + + +

            Subscription ID

            + + + protected + string + $subscriptionId + + + + + + +
            +
            +

            + $type + + + + +

            + + + + + private + string + $type + + + + + + +
            +
            + +
            +

            + Methods + + +

            +
            +

            + __construct() + + +

            + + + + + public + __construct(string $subscriptionId) : mixed + +
            +
            + +
            Parameters
            +
            +
            + $subscriptionId + : string +
            +
            + +
            +
            + + + + +
            +
            +

            + generate() + + +

            + + +

            Generate the message ready to be sent to a relay.

            + + + public + generate() : string + +
            +
            + + + + +
            +
            Return values
            + string +
            + +
            + +
            + +
            +
            +
            +
            +
            
            +        
            + +
            +
            + + + +
            +
            +
            + +
            + On this page + + +
            + +
            +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              + + +
              + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-EventMessage.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-EventMessage.html index bc2b925..46d698f 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-EventMessage.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-EventMessage.html @@ -193,6 +193,13 @@

              The event.
              +
              + $type + +  : string +
              +
              Message type.
              +

              @@ -214,6 +221,18 @@

              Generate the message ready to be sent to a relay.
              +
              + setType() + +  : void +
              + +
              + getType() + +  : string +
              + @@ -222,6 +241,8 @@

              + +

              Properties @@ -245,7 +266,7 @@

              @@ -261,6 +282,40 @@

              + +
              +

              + $type + + + + +

              + + +

              Message type.

              + + + private + string + $type + + + + + +

              @@ -284,7 +339,7 @@

              @@ -325,7 +380,7 @@

              @@ -341,6 +396,82 @@

              +
              +
              Return values
              + string +
              + + + +
              +

              + getType() + + +

              + + + + + private + getType() : string + +
              +
              + + + +
              Return values
              string @@ -461,6 +592,7 @@
              Return values
            • @@ -469,6 +601,8 @@
              Return values
              diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-MessageTypeEnum.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-MessageTypeEnum.html new file mode 100644 index 0000000..6320401 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-MessageTypeEnum.html @@ -0,0 +1,429 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
              +

              nostr-php

              + + + + +
              + +
              +
              + + + +
              +
              + + +
              +

              + MessageTypeEnum + + + : string + + +
              + in package + +
              + + +

              + + + +

              Enum with message types.

              + + + + + + +

              + Table of Contents + + +

              + + + + + + + + +

              + Cases + + +

              +
              +
              + CLOSE + +  = 'CLOSE' +
              + +
              + EVENT + +  = 'EVENT' +
              + +
              + REQUEST + +  = 'REQ' +
              + +
              + + + + + + + + +
              +

              + Cases + + +

              + + + +
              + + +
              +
              +
              +
              +
              
              +        
              + +
              +
              + + + +
              +
              +
              + +
              + On this page + + +
              + +
              +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                + + +
                + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-RequestMessage.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-RequestMessage.html new file mode 100644 index 0000000..1a5b559 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Message-RequestMessage.html @@ -0,0 +1,658 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                +

                nostr-php

                + + + + +
                + +
                +
                + + + +
                +
                + + +
                +

                + RequestMessage + + +
                + in package + +
                + + + implements + MessageInterface + +

                + +
                + + +
                + + + + + + + + + +

                + Table of Contents + + +

                + + + +

                + Interfaces + + +

                +
                +
                MessageInterface
                + + + + + + +

                + Properties + + +

                +
                +
                + $filters + +  : array<string|int, mixed> +
                +
                Array of filters
                + +
                + $subscriptionId + +  : string +
                +
                An arbitrary, non-empty string of max length 64 chars
                + +
                + $type + +  : string +
                +
                Message type.
                + +
                + +

                + Methods + + +

                +
                +
                + __construct() + +  : mixed +
                +
                Constructor for the RequestMessage class.
                + +
                + generate() + +  : string +
                +
                Generates a JSON-encoded request array by merging the subscription ID and filters array.
                + +
                + setType() + +  : void +
                +
                Set message type.
                + +
                + + + + + + + + + +
                +

                + Properties + + +

                +
                +

                + $filters + + + + +

                + + +

                Array of filters

                + + + protected + array<string|int, mixed> + $filters + = [] + + + + + +
                +
                +

                + $subscriptionId + + + + +

                + + +

                An arbitrary, non-empty string of max length 64 chars

                + + + protected + string + $subscriptionId + + + + + + +
                +
                +

                + $type + + + + +

                + + +

                Message type.

                + + + private + string + $type + + + + + + +
                +
                + +
                +

                + Methods + + +

                +
                +

                + __construct() + + +

                + + +

                Constructor for the RequestMessage class.

                + + + public + __construct(string $subscriptionId, array<string|int, mixed> $filters) : mixed + +
                +
                +

                Initializes the subscription ID and filters array based on the provided parameters.

                +
                + +
                Parameters
                +
                +
                + $subscriptionId + : string +
                +
                +

                The ID of the subscription

                +
                + +
                +
                + $filters + : array<string|int, mixed> +
                +
                +

                An array of filters to be applied

                +
                + +
                +
                + + + + +
                +
                +

                + generate() + + +

                + + +

                Generates a JSON-encoded request array by merging the subscription ID and filters array.

                + + + public + generate() : string + +
                +
                + + + + +
                +
                Return values
                + string + — +

                The JSON-encoded request array

                +
                + +
                + +
                + +
                + +
                +
                +
                +
                +
                
                +        
                + +
                +
                + + + +
                +
                +
                + +
                + On this page + + +
                + +
                +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-MessageInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-MessageInterface.html index 37583ef..4de1f18 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-MessageInterface.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-MessageInterface.html @@ -136,7 +136,7 @@

                  @@ -174,6 +174,12 @@

                  Generate the message ready to be sent to a relay.
                  +
                  + setType() + +  : void +
                  + @@ -181,6 +187,8 @@

                  + +

                  Methods @@ -201,7 +209,7 @@

                  @@ -222,6 +230,47 @@

                  Return values
                  string
                  +

                  +

                  @@ -336,6 +385,7 @@
                  Return values
                • diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-CommandResult.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-CommandResult.html index 7251720..1d668ee 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-CommandResult.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-CommandResult.html @@ -251,6 +251,8 @@

                  + +

                  Properties diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-Relay.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-Relay.html index 87d5fcc..cc40abe 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-Relay.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-Relay.html @@ -149,7 +149,7 @@

                  @@ -186,12 +186,19 @@

                  +
                  + $message + +  : MessageInterface +
                  +
                  The message to be sent.
                  +
                  $payload  : string
                  -
                  the payload to send.
                  +
                  The payload to be sent.
                  $url @@ -213,21 +220,47 @@

                   : mixed

                  -
                  Constructs the Relay.
                  +
                  Relay constructor.
                  getUrl()  : string
                  -
                  Get url of the relay.
                  +
                  Get URL of the relay.
                  send() -  : CommandResultInterface +  : RelayResponseInterface +
                  +
                  Sends the message to the relay.
                  + +
                  + setMessage() + +  : void +
                  +
                  Set message that will be sent to the relay.
                  + +
                  + setUrl() + +  : void +
                  +
                  Set URL of the relay.
                  + +
                  + setPayload() + +  : void +
                  + +
                  + validateUrl() + +  : void
                  -
                  Send the message to the relay.
                  @@ -237,6 +270,8 @@

                  + +

                  Properties @@ -244,6 +279,40 @@

                  +

                  + $message + + + + +

                  + + +

                  The message to be sent.

                  + + + protected + MessageInterface + $message + + + + + + +
                  +
                  -

                  the payload to send.

                  +

                  The payload to be sent.

                  private @@ -294,7 +363,7 @@

                  @@ -333,15 +402,15 @@

                  -

                  Constructs the Relay.

                  +

                  Relay constructor.

                  public - __construct(string $websocket, MessageInterface $message) : mixed + __construct(string $websocket[, MessageInterface $message = null ]) : mixed
                  @@ -353,14 +422,12 @@

                  Parameters
                  : string
                  -

                  The socket URL.

                  -
                  - +
                  $message : MessageInterface -
                  + = null
                  @@ -384,11 +451,11 @@

                  -

                  Get url of the relay.

                  +

                  Get URL of the relay.

                  public @@ -420,27 +487,197 @@

                  -

                  Send the message to the relay.

                  +

                  Sends the message to the relay.

                  public - send() : CommandResultInterface + send() : RelayResponseInterface
                  +

                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  Return values
                  - CommandResultInterface + RelayResponseInterface
                  +

                  +
                  +

                  + setMessage() + + +

                  + + +

                  Set message that will be sent to the relay.

                  + + + public + setMessage(MessageInterface $message) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $message + : MessageInterface +
                  +
                  + +
                  +
                  + + + + +
                  +
                  +

                  + setUrl() + + +

                  + + +

                  Set URL of the relay.

                  + + + public + setUrl(string $url) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $url + : string +
                  +
                  + +
                  +
                  + + + + +
                  +
                  +

                  + setPayload() + + +

                  + + + + + private + setPayload(string $payload) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $payload + : string +
                  +
                  + +
                  +
                  + + + + +
                  +
                  +

                  + validateUrl() + + +

                  + + + + + private + validateUrl() : void + +
                  +
                  + + + + +
                  @@ -555,6 +792,7 @@

                  Return values
                • Properties
                • @@ -566,6 +804,10 @@
                  Return values
                • __construct()
                • getUrl()
                • send()
                • +
                • setMessage()
                • +
                • setUrl()
                • +
                • setPayload()
                • +
                • validateUrl()
                • diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-RelaySet.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-RelaySet.html new file mode 100644 index 0000000..0800859 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Relay-RelaySet.html @@ -0,0 +1,1107 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                  +

                  nostr-php

                  + + + + +
                  + +
                  +
                  + + + +
                  +
                  + + +
                  +

                  + RelaySet + + +
                  + in package + +
                  + + + implements + RelaySetInterface + +

                  + +
                  + + +
                  + + + + + + + + + +

                  + Table of Contents + + +

                  + + + +

                  + Interfaces + + +

                  +
                  +
                  RelaySetInterface
                  + + + + + + +

                  + Properties + + +

                  +
                  +
                  + $isConnected + +  : bool +
                  +
                  Are all relays connected in this relay set?
                  + +
                  + $relays + +  : array<string|int, mixed> +
                  +
                  Array with Relay objects.
                  + +
                  + $message + +  : MessageInterface +
                  +
                  The message to be sent to all relays.
                  + +
                  + +

                  + Methods + + +

                  +
                  +
                  + addRelay() + +  : void +
                  +
                  Add relay to this set.
                  + +
                  + connect() + +  : bool +
                  +
                  Connect to all relays in this set.
                  + +
                  + createFromUrls() + +  : void +
                  +
                  Create a relay set from a list of relay URLs.
                  + +
                  + disconnect() + +  : bool +
                  +
                  Disconnect all relays in this set.
                  + +
                  + getRelays() + +  : array<string|int, mixed> +
                  +
                  Get all relays.
                  + +
                  + isConnected() + +  : bool +
                  +
                  All are relays connected?
                  + +
                  + removeRelay() + +  : void +
                  +
                  Remove relay from this set.
                  + +
                  + send() + +  : array<string|int, mixed> +
                  +
                  Sends the message to all the relays in this set.
                  + +
                  + setMessage() + +  : void +
                  +
                  The message to be sent to the relays.
                  + +
                  + setRelays() + +  : void +
                  +
                  Set relays in this set.
                  + +
                  + + + + + + + + + +
                  +

                  + Properties + + +

                  +
                  +

                  + $isConnected + + + + +

                  + + +

                  Are all relays connected in this relay set?

                  + + + public + bool + $isConnected + + + + + + +
                  +
                  +

                  + $relays + + + + +

                  + + +

                  Array with Relay objects.

                  + + + protected + array<string|int, mixed> + $relays + + + + + + +
                  +
                  +

                  + $message + + + + +

                  + + +

                  The message to be sent to all relays.

                  + + + private + MessageInterface + $message + + + + + + +
                  +
                  + +
                  +

                  + Methods + + +

                  +
                  +

                  + addRelay() + + +

                  + + +

                  Add relay to this set.

                  + + + public + addRelay(Relay $relay) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $relay + : Relay +
                  +
                  + +
                  +
                  + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + + +
                  +
                  +

                  + connect() + + +

                  + + +

                  Connect to all relays in this set.

                  + + + public + connect() : bool + +
                  +
                  + + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + +
                  +
                  Return values
                  + bool +
                  + +
                  +
                  +

                  + createFromUrls() + + +

                  + + +

                  Create a relay set from a list of relay URLs.

                  + + + public + createFromUrls(array<string|int, mixed>|string $urls) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $urls + : array<string|int, mixed>|string +
                  +
                  + +
                  +
                  + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + + +
                  +
                  +

                  + disconnect() + + +

                  + + +

                  Disconnect all relays in this set.

                  + + + public + disconnect() : bool + +
                  +
                  + + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + +
                  +
                  Return values
                  + bool +
                  + +
                  +
                  +

                  + getRelays() + + +

                  + + +

                  Get all relays.

                  + + + public + getRelays() : array<string|int, mixed> + +
                  +
                  + + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + +
                  +
                  Return values
                  + array<string|int, mixed> +
                  + +
                  +
                  +

                  + isConnected() + + +

                  + + +

                  All are relays connected?

                  + + + public + isConnected() : bool + +
                  +
                  + + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + +
                  +
                  Return values
                  + bool +
                  + +
                  +
                  +

                  + removeRelay() + + +

                  + + +

                  Remove relay from this set.

                  + + + public + removeRelay(Relay $relay) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $relay + : Relay +
                  +
                  + +
                  +
                  + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + + +
                  +
                  +

                  + send() + + +

                  + + +

                  Sends the message to all the relays in this set.

                  + + + public + send() : array<string|int, mixed> + +
                  +
                  + + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + +
                  +
                  Return values
                  + array<string|int, mixed> +
                  + +
                  +
                  +

                  + setMessage() + + +

                  + + +

                  The message to be sent to the relays.

                  + + + public + setMessage(MessageInterface $message) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $message + : MessageInterface +
                  +
                  + +
                  +
                  + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + + +
                  +
                  +

                  + setRelays() + + +

                  + + +

                  Set relays in this set.

                  + + + public + setRelays(array<string|int, mixed> $relays) : void + +
                  +
                  + +
                  Parameters
                  +
                  +
                  + $relays + : array<string|int, mixed> +
                  +
                  + +
                  +
                  + + +
                  + Tags + + +
                  +
                  +
                  + inheritDoc +
                  +
                  + + +
                  +
                  + + +
                  +
                  + +
                  +
                  +
                  +
                  +
                  
                  +        
                  + +
                  +
                  + + + +
                  +
                  +
                  + +
                  + On this page + + +
                  + +
                  +
                  +
                  +
                  +
                  +

                  Search results

                  + +
                  +
                  +
                    +
                    +
                    +
                    +
                    + + +
                    + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayInterface.html index bd2df02..224253c 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayInterface.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayInterface.html @@ -172,14 +172,28 @@

                     : string -
                    Get url of the relay.
                    +
                    Get URL of the relay.
                    send() -  : CommandResultInterface +  : RelayResponseInterface
                    -
                    Send the message to the relay.
                    +
                    Sends the message to the relay.
                    + +
                    + setMessage() + +  : void +
                    +
                    Set message that will be sent to the relay.
                    + +
                    + setUrl() + +  : void +
                    +
                    Set URL of the relay.
                    @@ -188,6 +202,8 @@

                    + +

                    Methods @@ -208,11 +224,11 @@

                    -

                    Get url of the relay.

                    +

                    Get URL of the relay.

                    public @@ -244,15 +260,15 @@

                    -

                    Send the message to the relay.

                    +

                    Sends the message to the relay.

                    public - send() : CommandResultInterface + send() : RelayResponseInterface
                    @@ -262,9 +278,93 @@

                    Return values
                    - CommandResultInterface + RelayResponseInterface
                    + + +
                    +

                    + setUrl() + + +

                    + + +

                    Set URL of the relay.

                    + + + public + setUrl(string $url) : void + +
                    +
                    + +
                    Parameters
                    +
                    +
                    + $url + : string +
                    +
                    + +
                    +
                    + + + +

                    @@ -380,6 +480,8 @@

                    Return values
                    diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponse.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponse.html new file mode 100644 index 0000000..528838e --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponse.html @@ -0,0 +1,756 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                    +

                    nostr-php

                    + + + + +
                    + +
                    +
                    + + + +
                    +
                    + + +
                    +

                    + RelayResponse + + +
                    + in package + +
                    + + + implements + RelayResponseInterface + +

                    + +
                    + + +
                    + + + + + + + + + +

                    + Table of Contents + + +

                    + + + +

                    + Interfaces + + +

                    +
                    +
                    RelayResponseInterface
                    + + + + + + +

                    + Properties + + +

                    +
                    +
                    + $isSuccess + +  : bool +
                    + +
                    + $message + +  : string +
                    + +
                    + $type + +  : string +
                    + +
                    + +

                    + Methods + + +

                    +
                    +
                    + __construct() + +  : mixed +
                    + +
                    + create() + +  : object +
                    +
                    Static method to create a response object based on the given type using a match expression.
                    + +
                    + createResponse() + +  : object +
                    +
                    Create a response object based on the given type using a match expression.
                    + +
                    + isSuccess() + +  : bool +
                    +
                    Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                    + +
                    + message() + +  : string +
                    +
                    Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                    + +
                    + + + + + + + + + +
                    +

                    + Properties + + +

                    +
                    +

                    + $isSuccess + + + + +

                    + + + + + public + bool + $isSuccess + + + + + + +
                    +
                    +

                    + $message + + + + +

                    + + + + + public + string + $message + + + + + + +
                    +
                    +

                    + $type + + + + +

                    + + + + + public + string + $type + + + + + + +
                    +
                    + +
                    +

                    + Methods + + +

                    +
                    +

                    + __construct() + + +

                    + + + + + public + __construct(array<string|int, mixed> $response) : mixed + +
                    +
                    + +
                    Parameters
                    +
                    +
                    + $response + : array<string|int, mixed> +
                    +
                    + +
                    +
                    + + + + +
                    +
                    +

                    + create() + + +

                    + + +

                    Static method to create a response object based on the given type using a match expression.

                    + + + public + static create(array<string|int, mixed> $response) : object + +
                    +
                    + +
                    Parameters
                    +
                    +
                    + $response + : array<string|int, mixed> +
                    +
                    +

                    The response data to be used for creating the object.

                    +
                    + +
                    +
                    + + + +
                    +
                    Return values
                    + object + — +

                    The created response object based on the determined type.

                    +
                    + +
                    + +
                    +
                    +

                    + createResponse() + + +

                    + + +

                    Create a response object based on the given type using a match expression.

                    + + + public + static createResponse(array<string|int, mixed> $response, string $type) : object + +
                    +
                    + +
                    Parameters
                    +
                    +
                    + $response + : array<string|int, mixed> +
                    +
                    +

                    The response data to be used for creating the object.

                    +
                    + +
                    +
                    + $type + : string +
                    +
                    +

                    The type of response to determine which object to create.

                    +
                    + +
                    +
                    + + + +
                    +
                    Return values
                    + object + — +

                    The created response object based on the type.

                    +
                    + +
                    + +
                    +
                    +

                    + isSuccess() + + +

                    + + +

                    Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                    + + + public + isSuccess() : bool + +
                    +
                    + + + + +
                    +
                    Return values
                    + bool +
                    + +
                    +
                    +

                    + message() + + +

                    + + +

                    Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                    + + + public + message() : string + +
                    +
                    + + + + +
                    +
                    Return values
                    + string +
                    + +
                    +
                    + +
                    +
                    +
                    +
                    +
                    
                    +        
                    + +
                    +
                    + + + +
                    +
                    +
                    + +
                    + On this page + + +
                    + +
                    +
                    +
                    +
                    +
                    +

                    Search results

                    + +
                    +
                    +
                      +
                      +
                      +
                      +
                      + + +
                      + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseAuth.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseAuth.html new file mode 100644 index 0000000..76f9e00 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseAuth.html @@ -0,0 +1,749 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                      +

                      nostr-php

                      + + + + +
                      + +
                      +
                      + + + +
                      +
                      + + +
                      +

                      + RelayResponseAuth + + + extends RelayResponse + + +
                      + in package + +
                      + + +

                      + +
                      + + +
                      + + + + + + + + + +

                      + Table of Contents + + +

                      + + + + + + + + + +

                      + Properties + + +

                      +
                      +
                      + $isSuccess + +  : bool +
                      + +
                      + $message + +  : string +
                      + +
                      + $type + +  : string +
                      + +
                      + +

                      + Methods + + +

                      +
                      +
                      + __construct() + +  : mixed +
                      + +
                      + create() + +  : object +
                      +
                      Static method to create a response object based on the given type using a match expression.
                      + +
                      + createResponse() + +  : object +
                      +
                      Create a response object based on the given type using a match expression.
                      + +
                      + isSuccess() + +  : bool +
                      +
                      Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                      + +
                      + message() + +  : string +
                      +
                      Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                      + +
                      + + + + + + + + + +
                      +

                      + Properties + + +

                      +
                      +

                      + $isSuccess + + + + +

                      + + + + + public + bool + $isSuccess + + + + + + +
                      +
                      +

                      + $message + + + + +

                      + + + + + public + string + $message + + + + + + +
                      +
                      +

                      + $type + + + + +

                      + + + + + public + string + $type + + + + + + +
                      +
                      + +
                      +

                      + Methods + + +

                      +
                      +

                      + __construct() + + +

                      + + + + + public + __construct(mixed $response) : mixed + +
                      +
                      + +
                      Parameters
                      +
                      +
                      + $response + : mixed +
                      +
                      + +
                      +
                      + + + + +
                      +
                      +

                      + create() + + +

                      + + +

                      Static method to create a response object based on the given type using a match expression.

                      + + + public + static create(array<string|int, mixed> $response) : object + +
                      +
                      + +
                      Parameters
                      +
                      +
                      + $response + : array<string|int, mixed> +
                      +
                      +

                      The response data to be used for creating the object.

                      +
                      + +
                      +
                      + + + +
                      +
                      Return values
                      + object + — +

                      The created response object based on the determined type.

                      +
                      + +
                      + +
                      +
                      +

                      + createResponse() + + +

                      + + +

                      Create a response object based on the given type using a match expression.

                      + + + public + static createResponse(array<string|int, mixed> $response, string $type) : object + +
                      +
                      + +
                      Parameters
                      +
                      +
                      + $response + : array<string|int, mixed> +
                      +
                      +

                      The response data to be used for creating the object.

                      +
                      + +
                      +
                      + $type + : string +
                      +
                      +

                      The type of response to determine which object to create.

                      +
                      + +
                      +
                      + + + +
                      +
                      Return values
                      + object + — +

                      The created response object based on the type.

                      +
                      + +
                      + +
                      +
                      +

                      + isSuccess() + + +

                      + + +

                      Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                      + + + public + isSuccess() : bool + +
                      +
                      + + + + +
                      +
                      Return values
                      + bool +
                      + +
                      +
                      +

                      + message() + + +

                      + + +

                      Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                      + + + public + message() : string + +
                      +
                      + + + + +
                      +
                      Return values
                      + string +
                      + +
                      +
                      + +
                      +
                      +
                      +
                      +
                      
                      +        
                      + +
                      +
                      + + + +
                      +
                      +
                      + +
                      + On this page + + +
                      + +
                      +
                      +
                      +
                      +
                      +

                      Search results

                      + +
                      +
                      +
                        +
                        +
                        +
                        +
                        + + +
                        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseClosed.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseClosed.html new file mode 100644 index 0000000..8b19946 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseClosed.html @@ -0,0 +1,789 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                        +

                        nostr-php

                        + + + + +
                        + +
                        +
                        + + + +
                        +
                        + + +
                        +

                        + RelayResponseClosed + + + extends RelayResponse + + +
                        + in package + +
                        + + +

                        + +
                        + + +
                        + + + + + + + + + +

                        + Table of Contents + + +

                        + + + + + + + + + +

                        + Properties + + +

                        +
                        +
                        + $isSuccess + +  : bool +
                        + +
                        + $message + +  : string +
                        + +
                        + $subscriptionId + +  : string +
                        + +
                        + $type + +  : string +
                        + +
                        + +

                        + Methods + + +

                        +
                        +
                        + __construct() + +  : mixed +
                        + +
                        + create() + +  : object +
                        +
                        Static method to create a response object based on the given type using a match expression.
                        + +
                        + createResponse() + +  : object +
                        +
                        Create a response object based on the given type using a match expression.
                        + +
                        + isSuccess() + +  : bool +
                        +
                        Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                        + +
                        + message() + +  : string +
                        +
                        Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                        + +
                        + + + + + + + + + +
                        +

                        + Properties + + +

                        +
                        +

                        + $isSuccess + + + + +

                        + + + + + public + bool + $isSuccess + + + + + + +
                        + +
                        +

                        + $subscriptionId + + + + +

                        + + + + + public + string + $subscriptionId + + + + + + +
                        +
                        +

                        + $type + + + + +

                        + + + + + public + string + $type + + + + + + +
                        +
                        + +
                        +

                        + Methods + + +

                        +
                        +

                        + __construct() + + +

                        + + + + + public + __construct(mixed $response) : mixed + +
                        +
                        + +
                        Parameters
                        +
                        +
                        + $response + : mixed +
                        +
                        + +
                        +
                        + + + + +
                        +
                        +

                        + create() + + +

                        + + +

                        Static method to create a response object based on the given type using a match expression.

                        + + + public + static create(array<string|int, mixed> $response) : object + +
                        +
                        + +
                        Parameters
                        +
                        +
                        + $response + : array<string|int, mixed> +
                        +
                        +

                        The response data to be used for creating the object.

                        +
                        + +
                        +
                        + + + +
                        +
                        Return values
                        + object + — +

                        The created response object based on the determined type.

                        +
                        + +
                        + +
                        +
                        +

                        + createResponse() + + +

                        + + +

                        Create a response object based on the given type using a match expression.

                        + + + public + static createResponse(array<string|int, mixed> $response, string $type) : object + +
                        +
                        + +
                        Parameters
                        +
                        +
                        + $response + : array<string|int, mixed> +
                        +
                        +

                        The response data to be used for creating the object.

                        +
                        + +
                        +
                        + $type + : string +
                        +
                        +

                        The type of response to determine which object to create.

                        +
                        + +
                        +
                        + + + +
                        +
                        Return values
                        + object + — +

                        The created response object based on the type.

                        +
                        + +
                        + +
                        +
                        +

                        + isSuccess() + + +

                        + + +

                        Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                        + + + public + isSuccess() : bool + +
                        +
                        + + + + +
                        +
                        Return values
                        + bool +
                        + +
                        +
                        +

                        + message() + + +

                        + + +

                        Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                        + + + public + message() : string + +
                        +
                        + + + + +
                        +
                        Return values
                        + string +
                        + +
                        +
                        + +
                        +
                        +
                        +
                        +
                        
                        +        
                        + +
                        +
                        + + + +
                        +
                        +
                        + +
                        + On this page + + +
                        + +
                        +
                        +
                        +
                        +
                        +

                        Search results

                        + +
                        +
                        +
                          +
                          +
                          +
                          +
                          + + +
                          + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEnum.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEnum.html new file mode 100644 index 0000000..b4320f9 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEnum.html @@ -0,0 +1,526 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                          +

                          nostr-php

                          + + + + +
                          + +
                          +
                          + + + +
                          +
                          + + +
                          +

                          + RelayResponseEnum + + + : string + + +
                          + in package + +
                          + + +

                          + + + +

                          Enum with response types.

                          + + + + + + +

                          + Table of Contents + + +

                          + + + + + + + + +

                          + Cases + + +

                          +
                          +
                          + AUTH + +  = 'AUTH' +
                          +
                          NIP-42 support - Authentication of clients to relays +https://github.com/nostr-protocol/nips/blob/master/42.md
                          + +
                          + CLOSED + +  = 'CLOSED' +
                          + +
                          + EOSE + +  = 'EOSE' +
                          + +
                          + EVENT + +  = 'EVENT' +
                          + +
                          + NOTICE + +  = 'NOTICE' +
                          + +
                          + OK + +  = 'OK' +
                          + +
                          + + + + + + + + +
                          +

                          + Cases + + +

                          + + + + + +
                          +

                          + AUTH + + +

                          + + +

                          NIP-42 support - Authentication of clients to relays +https://github.com/nostr-protocol/nips/blob/master/42.md

                          + + + + + +
                          +
                          + + +
                          +
                          +
                          +
                          +
                          
                          +        
                          + +
                          +
                          + + + +
                          +
                          +
                          + +
                          + On this page + + +
                          + +
                          +
                          +
                          +
                          +
                          +

                          Search results

                          + +
                          +
                          +
                            +
                            +
                            +
                            +
                            + + +
                            + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEose.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEose.html new file mode 100644 index 0000000..1a17006 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEose.html @@ -0,0 +1,789 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                            +

                            nostr-php

                            + + + + +
                            + +
                            +
                            + + + +
                            +
                            + + +
                            +

                            + RelayResponseEose + + + extends RelayResponse + + +
                            + in package + +
                            + + +

                            + +
                            + + +
                            + + + + + + + + + +

                            + Table of Contents + + +

                            + + + + + + + + + +

                            + Properties + + +

                            +
                            +
                            + $isSuccess + +  : bool +
                            + +
                            + $message + +  : string +
                            + +
                            + $subscriptionId + +  : string +
                            + +
                            + $type + +  : string +
                            + +
                            + +

                            + Methods + + +

                            +
                            +
                            + __construct() + +  : mixed +
                            + +
                            + create() + +  : object +
                            +
                            Static method to create a response object based on the given type using a match expression.
                            + +
                            + createResponse() + +  : object +
                            +
                            Create a response object based on the given type using a match expression.
                            + +
                            + isSuccess() + +  : bool +
                            +
                            Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                            + +
                            + message() + +  : string +
                            +
                            Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                            + +
                            + + + + + + + + + +
                            +

                            + Properties + + +

                            +
                            +

                            + $isSuccess + + + + +

                            + + + + + public + bool + $isSuccess + + + + + + +
                            +
                            +

                            + $message + + + + +

                            + + + + + public + string + $message + + + + + + +
                            +
                            +

                            + $subscriptionId + + + + +

                            + + + + + public + string + $subscriptionId + + + + + + +
                            +
                            +

                            + $type + + + + +

                            + + + + + public + string + $type + + + + + + +
                            +
                            + +
                            +

                            + Methods + + +

                            +
                            +

                            + __construct() + + +

                            + + + + + public + __construct(mixed $response) : mixed + +
                            +
                            + +
                            Parameters
                            +
                            +
                            + $response + : mixed +
                            +
                            + +
                            +
                            + + + + +
                            +
                            +

                            + create() + + +

                            + + +

                            Static method to create a response object based on the given type using a match expression.

                            + + + public + static create(array<string|int, mixed> $response) : object + +
                            +
                            + +
                            Parameters
                            +
                            +
                            + $response + : array<string|int, mixed> +
                            +
                            +

                            The response data to be used for creating the object.

                            +
                            + +
                            +
                            + + + +
                            +
                            Return values
                            + object + — +

                            The created response object based on the determined type.

                            +
                            + +
                            + +
                            +
                            +

                            + createResponse() + + +

                            + + +

                            Create a response object based on the given type using a match expression.

                            + + + public + static createResponse(array<string|int, mixed> $response, string $type) : object + +
                            +
                            + +
                            Parameters
                            +
                            +
                            + $response + : array<string|int, mixed> +
                            +
                            +

                            The response data to be used for creating the object.

                            +
                            + +
                            +
                            + $type + : string +
                            +
                            +

                            The type of response to determine which object to create.

                            +
                            + +
                            +
                            + + + +
                            +
                            Return values
                            + object + — +

                            The created response object based on the type.

                            +
                            + +
                            + +
                            +
                            +

                            + isSuccess() + + +

                            + + +

                            Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                            + + + public + isSuccess() : bool + +
                            +
                            + + + + +
                            +
                            Return values
                            + bool +
                            + +
                            +
                            +

                            + message() + + +

                            + + +

                            Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                            + + + public + message() : string + +
                            +
                            + + + + +
                            +
                            Return values
                            + string +
                            + +
                            +
                            + +
                            +
                            +
                            +
                            +
                            
                            +        
                            + +
                            +
                            + + + +
                            +
                            +
                            + +
                            + On this page + + +
                            + +
                            +
                            +
                            +
                            +
                            +

                            Search results

                            + +
                            +
                            +
                              +
                              +
                              +
                              +
                              + + +
                              + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEvent.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEvent.html new file mode 100644 index 0000000..a64799e --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseEvent.html @@ -0,0 +1,829 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                              +

                              nostr-php

                              + + + + +
                              + +
                              +
                              + + + +
                              +
                              + + +
                              +

                              + RelayResponseEvent + + + extends RelayResponse + + +
                              + in package + +
                              + + +

                              + +
                              + + +
                              + + + + + + + + + +

                              + Table of Contents + + +

                              + + + + + + + + + +

                              + Properties + + +

                              +
                              +
                              + $event + +  : stdClass +
                              + +
                              + $isSuccess + +  : bool +
                              + +
                              + $message + +  : string +
                              + +
                              + $subscriptionId + +  : string +
                              + +
                              + $type + +  : string +
                              + +
                              + +

                              + Methods + + +

                              +
                              +
                              + __construct() + +  : mixed +
                              + +
                              + create() + +  : object +
                              +
                              Static method to create a response object based on the given type using a match expression.
                              + +
                              + createResponse() + +  : object +
                              +
                              Create a response object based on the given type using a match expression.
                              + +
                              + isSuccess() + +  : bool +
                              +
                              Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                              + +
                              + message() + +  : string +
                              +
                              Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                              + +
                              + + + + + + + + + +
                              +

                              + Properties + + +

                              +
                              +

                              + $event + + + + +

                              + + + + + public + stdClass + $event + + + + + + +
                              +
                              +

                              + $isSuccess + + + + +

                              + + + + + public + bool + $isSuccess + + + + + + +
                              +
                              +

                              + $message + + + + +

                              + + + + + public + string + $message + + + + + + +
                              +
                              +

                              + $subscriptionId + + + + +

                              + + + + + public + string + $subscriptionId + + + + + + +
                              +
                              +

                              + $type + + + + +

                              + + + + + public + string + $type + + + + + + +
                              +
                              + +
                              +

                              + Methods + + +

                              +
                              +

                              + __construct() + + +

                              + + + + + public + __construct(mixed $response) : mixed + +
                              +
                              + +
                              Parameters
                              +
                              +
                              + $response + : mixed +
                              +
                              + +
                              +
                              + + + + +
                              +
                              +

                              + create() + + +

                              + + +

                              Static method to create a response object based on the given type using a match expression.

                              + + + public + static create(array<string|int, mixed> $response) : object + +
                              +
                              + +
                              Parameters
                              +
                              +
                              + $response + : array<string|int, mixed> +
                              +
                              +

                              The response data to be used for creating the object.

                              +
                              + +
                              +
                              + + + +
                              +
                              Return values
                              + object + — +

                              The created response object based on the determined type.

                              +
                              + +
                              + +
                              +
                              +

                              + createResponse() + + +

                              + + +

                              Create a response object based on the given type using a match expression.

                              + + + public + static createResponse(array<string|int, mixed> $response, string $type) : object + +
                              +
                              + +
                              Parameters
                              +
                              +
                              + $response + : array<string|int, mixed> +
                              +
                              +

                              The response data to be used for creating the object.

                              +
                              + +
                              +
                              + $type + : string +
                              +
                              +

                              The type of response to determine which object to create.

                              +
                              + +
                              +
                              + + + +
                              +
                              Return values
                              + object + — +

                              The created response object based on the type.

                              +
                              + +
                              + +
                              +
                              +

                              + isSuccess() + + +

                              + + +

                              Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                              + + + public + isSuccess() : bool + +
                              +
                              + + + + +
                              +
                              Return values
                              + bool +
                              + +
                              +
                              +

                              + message() + + +

                              + + +

                              Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                              + + + public + message() : string + +
                              +
                              + + + + +
                              +
                              Return values
                              + string +
                              + +
                              +
                              + +
                              +
                              +
                              +
                              +
                              
                              +        
                              + +
                              +
                              + + + +
                              +
                              +
                              + +
                              + On this page + + +
                              + +
                              +
                              +
                              +
                              +
                              +

                              Search results

                              + +
                              +
                              +
                                +
                                +
                                +
                                +
                                + + +
                                + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseNotice.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseNotice.html new file mode 100644 index 0000000..bd8e7db --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseNotice.html @@ -0,0 +1,749 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                +

                                nostr-php

                                + + + + +
                                + +
                                +
                                + + + +
                                +
                                + + +
                                +

                                + RelayResponseNotice + + + extends RelayResponse + + +
                                + in package + +
                                + + +

                                + +
                                + + +
                                + + + + + + + + + +

                                + Table of Contents + + +

                                + + + + + + + + + +

                                + Properties + + +

                                +
                                +
                                + $isSuccess + +  : bool +
                                + +
                                + $message + +  : string +
                                + +
                                + $type + +  : string +
                                + +
                                + +

                                + Methods + + +

                                +
                                +
                                + __construct() + +  : mixed +
                                + +
                                + create() + +  : object +
                                +
                                Static method to create a response object based on the given type using a match expression.
                                + +
                                + createResponse() + +  : object +
                                +
                                Create a response object based on the given type using a match expression.
                                + +
                                + isSuccess() + +  : bool +
                                +
                                Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                                + +
                                + message() + +  : string +
                                +
                                Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                                + +
                                + + + + + + + + + +
                                +

                                + Properties + + +

                                +
                                +

                                + $isSuccess + + + + +

                                + + + + + public + bool + $isSuccess + + + + + + +
                                + +
                                +

                                + $type + + + + +

                                + + + + + public + string + $type + + + + + + +
                                +
                                + +
                                +

                                + Methods + + +

                                +
                                +

                                + __construct() + + +

                                + + + + + public + __construct(mixed $response) : mixed + +
                                +
                                + +
                                Parameters
                                +
                                +
                                + $response + : mixed +
                                +
                                + +
                                +
                                + + + + +
                                +
                                +

                                + create() + + +

                                + + +

                                Static method to create a response object based on the given type using a match expression.

                                + + + public + static create(array<string|int, mixed> $response) : object + +
                                +
                                + +
                                Parameters
                                +
                                +
                                + $response + : array<string|int, mixed> +
                                +
                                +

                                The response data to be used for creating the object.

                                +
                                + +
                                +
                                + + + +
                                +
                                Return values
                                + object + — +

                                The created response object based on the determined type.

                                +
                                + +
                                + +
                                +
                                +

                                + createResponse() + + +

                                + + +

                                Create a response object based on the given type using a match expression.

                                + + + public + static createResponse(array<string|int, mixed> $response, string $type) : object + +
                                +
                                + +
                                Parameters
                                +
                                +
                                + $response + : array<string|int, mixed> +
                                +
                                +

                                The response data to be used for creating the object.

                                +
                                + +
                                +
                                + $type + : string +
                                +
                                +

                                The type of response to determine which object to create.

                                +
                                + +
                                +
                                + + + +
                                +
                                Return values
                                + object + — +

                                The created response object based on the type.

                                +
                                + +
                                + +
                                +
                                +

                                + isSuccess() + + +

                                + + +

                                Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                                + + + public + isSuccess() : bool + +
                                +
                                + + + + +
                                +
                                Return values
                                + bool +
                                + +
                                +
                                +

                                + message() + + +

                                + + +

                                Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                                + + + public + message() : string + +
                                +
                                + + + + +
                                +
                                Return values
                                + string +
                                + +
                                +
                                + +
                                +
                                +
                                +
                                +
                                
                                +        
                                + +
                                +
                                + + + +
                                +
                                +
                                + +
                                + On this page + + +
                                + +
                                +
                                +
                                +
                                +
                                +

                                Search results

                                + +
                                +
                                +
                                  +
                                  +
                                  +
                                  +
                                  + + +
                                  + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseOk.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseOk.html new file mode 100644 index 0000000..6f95566 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponse-RelayResponseOk.html @@ -0,0 +1,829 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                  +

                                  nostr-php

                                  + + + + +
                                  + +
                                  +
                                  + + + +
                                  +
                                  + + +
                                  +

                                  + RelayResponseOk + + + extends RelayResponse + + +
                                  + in package + +
                                  + + +

                                  + +
                                  + + +
                                  + + + + + + + + + +

                                  + Table of Contents + + +

                                  + + + + + + + + + +

                                  + Properties + + +

                                  +
                                  +
                                  + $eventId + +  : string +
                                  + +
                                  + $isSuccess + +  : bool +
                                  + +
                                  + $message + +  : string +
                                  + +
                                  + $status + +  : bool +
                                  + +
                                  + $type + +  : string +
                                  + +
                                  + +

                                  + Methods + + +

                                  +
                                  +
                                  + __construct() + +  : mixed +
                                  + +
                                  + create() + +  : object +
                                  +
                                  Static method to create a response object based on the given type using a match expression.
                                  + +
                                  + createResponse() + +  : object +
                                  +
                                  Create a response object based on the given type using a match expression.
                                  + +
                                  + isSuccess() + +  : bool +
                                  +
                                  Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                                  + +
                                  + message() + +  : string +
                                  +
                                  Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.
                                  + +
                                  + + + + + + + + + +
                                  +

                                  + Properties + + +

                                  +
                                  +

                                  + $eventId + + + + +

                                  + + + + + public + string + $eventId + + + + + + +
                                  +
                                  +

                                  + $isSuccess + + + + +

                                  + + + + + public + bool + $isSuccess + + + + + + +
                                  +
                                  +

                                  + $message + + + + +

                                  + + + + + public + string + $message + + + + + + +
                                  +
                                  +

                                  + $status + + + + +

                                  + + + + + public + bool + $status + + + + + + +
                                  +
                                  +

                                  + $type + + + + +

                                  + + + + + public + string + $type + + + + + + +
                                  +
                                  + +
                                  +

                                  + Methods + + +

                                  +
                                  +

                                  + __construct() + + +

                                  + + + + + public + __construct(mixed $response) : mixed + +
                                  +
                                  + +
                                  Parameters
                                  +
                                  +
                                  + $response + : mixed +
                                  +
                                  + +
                                  +
                                  + + + + +
                                  +
                                  +

                                  + create() + + +

                                  + + +

                                  Static method to create a response object based on the given type using a match expression.

                                  + + + public + static create(array<string|int, mixed> $response) : object + +
                                  +
                                  + +
                                  Parameters
                                  +
                                  +
                                  + $response + : array<string|int, mixed> +
                                  +
                                  +

                                  The response data to be used for creating the object.

                                  +
                                  + +
                                  +
                                  + + + +
                                  +
                                  Return values
                                  + object + — +

                                  The created response object based on the determined type.

                                  +
                                  + +
                                  + +
                                  +
                                  +

                                  + createResponse() + + +

                                  + + +

                                  Create a response object based on the given type using a match expression.

                                  + + + public + static createResponse(array<string|int, mixed> $response, string $type) : object + +
                                  +
                                  + +
                                  Parameters
                                  +
                                  +
                                  + $response + : array<string|int, mixed> +
                                  +
                                  +

                                  The response data to be used for creating the object.

                                  +
                                  + +
                                  +
                                  + $type + : string +
                                  +
                                  +

                                  The type of response to determine which object to create.

                                  +
                                  + +
                                  +
                                  + + + +
                                  +
                                  Return values
                                  + object + — +

                                  The created response object based on the type.

                                  +
                                  + +
                                  + +
                                  +
                                  +

                                  + isSuccess() + + +

                                  + + +

                                  Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                                  + + + public + isSuccess() : bool + +
                                  +
                                  + + + + +
                                  +
                                  Return values
                                  + bool +
                                  + +
                                  +
                                  +

                                  + message() + + +

                                  + + +

                                  Backwards compatability support for <=1.3.3 where we used the CommandResultInterface as a response.

                                  + + + public + message() : string + +
                                  +
                                  + + + + +
                                  +
                                  Return values
                                  + string +
                                  + +
                                  +
                                  + +
                                  +
                                  +
                                  +
                                  +
                                  
                                  +        
                                  + +
                                  +
                                  + + + +
                                  +
                                  +
                                  + +
                                  + On this page + + +
                                  + +
                                  +
                                  +
                                  +
                                  +
                                  +

                                  Search results

                                  + +
                                  +
                                  +
                                    +
                                    +
                                    +
                                    +
                                    + + +
                                    + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponseInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponseInterface.html new file mode 100644 index 0000000..6a19a5d --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelayResponseInterface.html @@ -0,0 +1,476 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                    +

                                    nostr-php

                                    + + + + +
                                    + +
                                    +
                                    + + + +
                                    +
                                    + + +
                                    +

                                    + RelayResponseInterface +
                                    + in + +
                                    +

                                    + + + + + + + + + +

                                    + Table of Contents + + +

                                    + + + + + + + + + + +

                                    + Methods + + +

                                    +
                                    +
                                    + create() + +  : mixed +
                                    + +
                                    + createResponse() + +  : mixed +
                                    + +
                                    + isSuccess() + +  : bool +
                                    +
                                    Returns whether the request was successful.
                                    + +
                                    + + + + + + + + +
                                    +

                                    + Methods + + +

                                    +
                                    +

                                    + create() + + +

                                    + + + + + public + static create(array<string|int, mixed> $response) : mixed + +
                                    +
                                    + +
                                    Parameters
                                    +
                                    +
                                    + $response + : array<string|int, mixed> +
                                    +
                                    + +
                                    +
                                    + + + + +
                                    +
                                    +

                                    + createResponse() + + +

                                    + + + + + public + static createResponse(array<string|int, mixed> $response, string $type) : mixed + +
                                    +
                                    + +
                                    Parameters
                                    +
                                    +
                                    + $response + : array<string|int, mixed> +
                                    +
                                    + +
                                    +
                                    + $type + : string +
                                    +
                                    + +
                                    +
                                    + + + + +
                                    +
                                    +

                                    + isSuccess() + + +

                                    + + +

                                    Returns whether the request was successful.

                                    + + + public + isSuccess() : bool + +
                                    +
                                    + + + + +
                                    +
                                    Return values
                                    + bool +
                                    + +
                                    +
                                    + +
                                    +
                                    +
                                    +
                                    +
                                    
                                    +        
                                    + +
                                    +
                                    + + + +
                                    +
                                    +
                                    + +
                                    + On this page + + +
                                    + +
                                    +
                                    +
                                    +
                                    +
                                    +

                                    Search results

                                    + +
                                    +
                                    +
                                      +
                                      +
                                      +
                                      +
                                      + + +
                                      + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RelaySetInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelaySetInterface.html new file mode 100644 index 0000000..10c2703 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RelaySetInterface.html @@ -0,0 +1,799 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                      +

                                      nostr-php

                                      + + + + +
                                      + +
                                      +
                                      + + + +
                                      +
                                      + + +
                                      +

                                      + RelaySetInterface +
                                      + in + +
                                      +

                                      + + + + + + + + + +

                                      + Table of Contents + + +

                                      + + + + + + + + + + +

                                      + Methods + + +

                                      +
                                      +
                                      + addRelay() + +  : void +
                                      +
                                      Add relay to this set.
                                      + +
                                      + connect() + +  : bool +
                                      +
                                      Connect to all relays in this set.
                                      + +
                                      + createFromUrls() + +  : void +
                                      +
                                      Create a relay set from a list of relay URLs.
                                      + +
                                      + disconnect() + +  : bool +
                                      +
                                      Disconnect all relays in this set.
                                      + +
                                      + getRelays() + +  : array<string|int, mixed> +
                                      +
                                      Get all relays.
                                      + +
                                      + isConnected() + +  : bool +
                                      +
                                      All are relays connected?
                                      + +
                                      + removeRelay() + +  : void +
                                      +
                                      Remove relay from this set.
                                      + +
                                      + send() + +  : array<string|int, mixed> +
                                      +
                                      Sends the message to all the relays in this set.
                                      + +
                                      + setMessage() + +  : void +
                                      +
                                      The message to be sent to the relays.
                                      + +
                                      + setRelays() + +  : void +
                                      +
                                      Set relays in this set.
                                      + +
                                      + + + + + + + + +
                                      +

                                      + Methods + + +

                                      +
                                      +

                                      + addRelay() + + +

                                      + + +

                                      Add relay to this set.

                                      + + + public + addRelay(Relay $relay) : void + +
                                      +
                                      + +
                                      Parameters
                                      +
                                      +
                                      + $relay + : Relay +
                                      +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      +

                                      + connect() + + +

                                      + + +

                                      Connect to all relays in this set.

                                      + + + public + connect() : bool + +
                                      +
                                      + + + + +
                                      +
                                      Return values
                                      + bool +
                                      + +
                                      +
                                      +

                                      + createFromUrls() + + +

                                      + + +

                                      Create a relay set from a list of relay URLs.

                                      + + + public + createFromUrls(string|array<string|int, mixed> $urls) : void + +
                                      +
                                      + +
                                      Parameters
                                      +
                                      +
                                      + $urls + : string|array<string|int, mixed> +
                                      +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      +

                                      + disconnect() + + +

                                      + + +

                                      Disconnect all relays in this set.

                                      + + + public + disconnect() : bool + +
                                      +
                                      + + + + +
                                      +
                                      Return values
                                      + bool +
                                      + +
                                      +
                                      +

                                      + getRelays() + + +

                                      + + +

                                      Get all relays.

                                      + + + public + getRelays() : array<string|int, mixed> + +
                                      +
                                      + + + + +
                                      +
                                      Return values
                                      + array<string|int, mixed> +
                                      + +
                                      +
                                      +

                                      + isConnected() + + +

                                      + + +

                                      All are relays connected?

                                      + + + public + isConnected() : bool + +
                                      +
                                      + + + + +
                                      +
                                      Return values
                                      + bool +
                                      + +
                                      +
                                      +

                                      + removeRelay() + + +

                                      + + +

                                      Remove relay from this set.

                                      + + + public + removeRelay(Relay $relay) : void + +
                                      +
                                      + +
                                      Parameters
                                      +
                                      +
                                      + $relay + : Relay +
                                      +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      +

                                      + send() + + +

                                      + + +

                                      Sends the message to all the relays in this set.

                                      + + + public + send() : array<string|int, mixed> + +
                                      +
                                      + + + + +
                                      +
                                      Return values
                                      + array<string|int, mixed> +
                                      + +
                                      + +
                                      +

                                      + setRelays() + + +

                                      + + +

                                      Set relays in this set.

                                      + + + public + setRelays(array<string|int, mixed> $relays) : void + +
                                      +
                                      + +
                                      Parameters
                                      +
                                      +
                                      + $relays + : array<string|int, mixed> +
                                      +
                                      + +
                                      +
                                      + + + + +
                                      +
                                      + +
                                      +
                                      +
                                      +
                                      +
                                      
                                      +        
                                      + +
                                      +
                                      + + + +
                                      +
                                      +
                                      + +
                                      + On this page + + +
                                      + +
                                      +
                                      +
                                      +
                                      +
                                      +

                                      Search results

                                      + +
                                      +
                                      +
                                        +
                                        +
                                        +
                                        +
                                        + + +
                                        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Request-Request.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Request-Request.html new file mode 100644 index 0000000..1941f79 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Request-Request.html @@ -0,0 +1,626 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                        +

                                        nostr-php

                                        + + + + +
                                        + +
                                        +
                                        + + + +
                                        +
                                        + + +
                                        +

                                        + Request + + +
                                        + in package + +
                                        + + + implements + RequestInterface + +

                                        + +
                                        + + +
                                        + + + + + + + + + +

                                        + Table of Contents + + +

                                        + + + +

                                        + Interfaces + + +

                                        +
                                        +
                                        RequestInterface
                                        + + + + + + +

                                        + Properties + + +

                                        +
                                        +
                                        + $relays + +  : RelaySet +
                                        +
                                        RelaySet.
                                        + +
                                        + $payload + +  : string +
                                        +
                                        Request message sent to relay.
                                        + +
                                        + +

                                        + Methods + + +

                                        +
                                        +
                                        + __construct() + +  : mixed +
                                        +
                                        Constructor for the Request class.
                                        + +
                                        + send() + +  : array<string|int, mixed> +
                                        +
                                        Method to send all data to the Websocket client which will connect to the relay(s).
                                        + +
                                        + getResponseFromRelay() + +  : array<string|int, mixed> +
                                        +
                                        Method to send a request using WebSocket client, receive responses, and handle errors.
                                        + +
                                        + + + + + + + + + +
                                        +

                                        + Properties + + +

                                        +
                                        +

                                        + $relays + + + + +

                                        + + +

                                        RelaySet.

                                        + + + protected + RelaySet + $relays + + + + + + +
                                        +
                                        +

                                        + $payload + + + + +

                                        + + +

                                        Request message sent to relay.

                                        + + + private + string + $payload + + + + + + +
                                        +
                                        + +
                                        +

                                        + Methods + + +

                                        +
                                        +

                                        + __construct() + + +

                                        + + +

                                        Constructor for the Request class.

                                        + + + public + __construct(Relay|RelaySet $relay, mixed $message) : mixed + +
                                        +
                                        +

                                        Initializes the url and payload properties based on the provided websocket and message.

                                        +
                                        + +
                                        Parameters
                                        +
                                        +
                                        + $relay + : Relay|RelaySet +
                                        +
                                        + +
                                        +
                                        + $message + : mixed +
                                        +
                                        + +
                                        +
                                        + + + + +
                                        +
                                        +

                                        + send() + + +

                                        + + +

                                        Method to send all data to the Websocket client which will connect to the relay(s).

                                        + + + public + send() : array<string|int, mixed> + +
                                        +
                                        + + + +
                                        + Tags + + +
                                        +
                                        +
                                        + inheritDoc +
                                        +
                                        + + +
                                        +
                                        + +
                                        +
                                        Return values
                                        + array<string|int, mixed> +
                                        + +
                                        +
                                        +

                                        + getResponseFromRelay() + + +

                                        + + +

                                        Method to send a request using WebSocket client, receive responses, and handle errors.

                                        + + + private + getResponseFromRelay(Relay $relay) : array<string|int, mixed> + +
                                        +
                                        + +
                                        Parameters
                                        +
                                        +
                                        + $relay + : Relay +
                                        +
                                        + +
                                        +
                                        + + + +
                                        +
                                        Return values
                                        + array<string|int, mixed> +
                                        + +
                                        +
                                        + +
                                        +
                                        +
                                        +
                                        +
                                        
                                        +        
                                        + +
                                        +
                                        + + + +
                                        +
                                        +
                                        + +
                                        + On this page + + +
                                        + +
                                        +
                                        +
                                        +
                                        +
                                        +

                                        Search results

                                        + +
                                        +
                                        +
                                          +
                                          +
                                          +
                                          +
                                          + + +
                                          + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-RequestInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-RequestInterface.html new file mode 100644 index 0000000..ef1da89 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-RequestInterface.html @@ -0,0 +1,373 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                          +

                                          nostr-php

                                          + + + + +
                                          + +
                                          +
                                          + + + +
                                          +
                                          + + +
                                          +

                                          + RequestInterface +
                                          + in + +
                                          +

                                          + + + + + + + + + +

                                          + Table of Contents + + +

                                          + + + + + + + + + + +

                                          + Methods + + +

                                          +
                                          +
                                          + send() + +  : array<string|int, mixed> +
                                          +
                                          Method to send all data to the Websocket client which will connect to the relay(s).
                                          + +
                                          + + + + + + + + +
                                          +

                                          + Methods + + +

                                          +
                                          +

                                          + send() + + +

                                          + + +

                                          Method to send all data to the Websocket client which will connect to the relay(s).

                                          + + + public + send() : array<string|int, mixed> + +
                                          +
                                          + + + + +
                                          +
                                          Return values
                                          + array<string|int, mixed> +
                                          + +
                                          +
                                          + +
                                          +
                                          +
                                          +
                                          +
                                          
                                          +        
                                          + +
                                          +
                                          + + + +
                                          +
                                          +
                                          + +
                                          + On this page + + +
                                          + +
                                          +
                                          +
                                          +
                                          +
                                          +

                                          Search results

                                          + +
                                          +
                                          +
                                            +
                                            +
                                            +
                                            +
                                            + + +
                                            + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Sign-Sign.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Sign-Sign.html index b7c9c91..0764140 100644 --- a/phpdoc.nostr-php.dev/classes/swentel-nostr-Sign-Sign.html +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Sign-Sign.html @@ -200,6 +200,8 @@

                                            + +

                                            Methods @@ -286,18 +288,14 @@

                                            Parameters
                                            : EventInterface
                                            -

                                            The event to be signed.

                                            -
                                            - +
                                            $private_key : string
                                            -

                                            The private key.

                                            -
                                            - +
                                            diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-Subscription-Subscription.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-Subscription-Subscription.html new file mode 100644 index 0000000..ef5d9b7 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-Subscription-Subscription.html @@ -0,0 +1,403 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                            +

                                            nostr-php

                                            + + + + +
                                            + +
                                            +
                                            + + + +
                                            +
                                            + + +
                                            +

                                            + Subscription + + +
                                            + in package + +
                                            + + + implements + SubscriptionInterface + +

                                            + +
                                            + + +
                                            + + + + + + + + + +

                                            + Table of Contents + + +

                                            + + + +

                                            + Interfaces + + +

                                            +
                                            +
                                            SubscriptionInterface
                                            + + + + + + + +

                                            + Methods + + +

                                            +
                                            +
                                            + setId() + +  : string +
                                            + +
                                            + + + + + + + + + + +
                                            +

                                            + Methods + + +

                                            +
                                            +

                                            + setId() + + +

                                            + + + + + public + setId([mixed $length = 64 ]) : string + +
                                            +
                                            + +
                                            Parameters
                                            +
                                            +
                                            + $length + : mixed + = 64
                                            +
                                            + +
                                            +
                                            + + + +
                                            +
                                            Return values
                                            + string +
                                            + +
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            +
                                            
                                            +        
                                            + +
                                            +
                                            + + + +
                                            +
                                            +
                                            + +
                                            + On this page + +
                                              +
                                            • Table Of Contents
                                            • +
                                            • + +
                                            • + + +
                                            • Methods
                                            • +
                                            • + +
                                            • +
                                            +
                                            + +
                                            +
                                            +
                                            +
                                            +
                                            +

                                            Search results

                                            + +
                                            +
                                            +
                                              +
                                              +
                                              +
                                              +
                                              + + +
                                              + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/classes/swentel-nostr-SubscriptionInterface.html b/phpdoc.nostr-php.dev/classes/swentel-nostr-SubscriptionInterface.html new file mode 100644 index 0000000..fbb87c9 --- /dev/null +++ b/phpdoc.nostr-php.dev/classes/swentel-nostr-SubscriptionInterface.html @@ -0,0 +1,381 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                              +

                                              nostr-php

                                              + + + + +
                                              + +
                                              +
                                              + + + +
                                              +
                                              + + +
                                              +

                                              + SubscriptionInterface +
                                              + in + +
                                              +

                                              + + + + + + + + + +

                                              + Table of Contents + + +

                                              + + + + + + + + + + +

                                              + Methods + + +

                                              +
                                              +
                                              + setId() + +  : string +
                                              + +
                                              + + + + + + + + +
                                              +

                                              + Methods + + +

                                              +
                                              +

                                              + setId() + + +

                                              + + + + + public + setId(mixed $length) : string + +
                                              +
                                              + +
                                              Parameters
                                              +
                                              +
                                              + $length + : mixed +
                                              +
                                              + +
                                              +
                                              + + + +
                                              +
                                              Return values
                                              + string +
                                              + +
                                              +
                                              + +
                                              +
                                              +
                                              +
                                              +
                                              
                                              +        
                                              + +
                                              +
                                              + + + +
                                              +
                                              +
                                              + +
                                              + On this page + + +
                                              + +
                                              +
                                              +
                                              +
                                              +
                                              +

                                              Search results

                                              + +
                                              +
                                              +
                                                +
                                                +
                                                +
                                                +
                                                + + +
                                                + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/css/base.css b/phpdoc.nostr-php.dev/css/base.css index f1e5041..6385024 100644 --- a/phpdoc.nostr-php.dev/css/base.css +++ b/phpdoc.nostr-php.dev/css/base.css @@ -99,6 +99,7 @@ /* Base Styles -------------------------------------------------- */ body { + background-color: #fff; color: var(--text-color); font-family: var(--font-primary); font-size: var(--text-md); @@ -494,7 +495,7 @@ div.phpdocumentor-list > ul, ol.phpdocumentor-list, ul.phpdocumentor-list { margin-top: 0; - padding-left: var(--spacing-md); + padding-left: var(--spacing-lg); margin-bottom: var(--spacing-sm); } diff --git a/phpdoc.nostr-php.dev/files/src-examples-publish-event.html b/phpdoc.nostr-php.dev/files/src-examples-publish-event.html new file mode 100644 index 0000000..c9cfd5a --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-examples-publish-event.html @@ -0,0 +1,290 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                +

                                                nostr-php

                                                + + + + +
                                                + +
                                                +
                                                + + + +
                                                +
                                                +
                                                  +
                                                + +
                                                +

                                                publish-event.php

                                                + + + + + + + +

                                                + Table of Contents + + +

                                                + + + + + + + + + + + + + + + + + +
                                                +
                                                +
                                                +
                                                +
                                                
                                                +        
                                                + +
                                                +
                                                + + + +
                                                +
                                                +
                                                + +
                                                + On this page + +
                                                  +
                                                • Table Of Contents
                                                • +
                                                • +
                                                    +
                                                  +
                                                • + + +
                                                +
                                                + +
                                                +
                                                +
                                                +
                                                +
                                                +

                                                Search results

                                                + +
                                                +
                                                +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  + + +
                                                  + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-examples-request-events-from-multiple-relays.html b/phpdoc.nostr-php.dev/files/src-examples-request-events-from-multiple-relays.html new file mode 100644 index 0000000..5e37f01 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-examples-request-events-from-multiple-relays.html @@ -0,0 +1,290 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                  +

                                                  nostr-php

                                                  + + + + +
                                                  + +
                                                  +
                                                  + + + +
                                                  +
                                                  +
                                                    +
                                                  + +
                                                  +

                                                  request-events-from-multiple-relays.php

                                                  + + + + + + + +

                                                  + Table of Contents + + +

                                                  + + + + + + + + + + + + + + + + + +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  
                                                  +        
                                                  + +
                                                  +
                                                  + + + +
                                                  +
                                                  +
                                                  + +
                                                  + On this page + +
                                                    +
                                                  • Table Of Contents
                                                  • +
                                                  • +
                                                      +
                                                    +
                                                  • + + +
                                                  +
                                                  + +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  +

                                                  Search results

                                                  + +
                                                  +
                                                  +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    + + +
                                                    + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-examples-request-events.html b/phpdoc.nostr-php.dev/files/src-examples-request-events.html new file mode 100644 index 0000000..569a97f --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-examples-request-events.html @@ -0,0 +1,290 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                    +

                                                    nostr-php

                                                    + + + + +
                                                    + +
                                                    +
                                                    + + + +
                                                    +
                                                    +
                                                      +
                                                    + +
                                                    +

                                                    request-events.php

                                                    + + + + + + + +

                                                    + Table of Contents + + +

                                                    + + + + + + + + + + + + + + + + + +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    
                                                    +        
                                                    + +
                                                    +
                                                    + + + +
                                                    +
                                                    +
                                                    + +
                                                    + On this page + +
                                                      +
                                                    • Table Of Contents
                                                    • +
                                                    • +
                                                        +
                                                      +
                                                    • + + +
                                                    +
                                                    + +
                                                    +
                                                    +
                                                    +
                                                    +
                                                    +

                                                    Search results

                                                    + +
                                                    +
                                                    +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      + + +
                                                      + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-filter-filter.html b/phpdoc.nostr-php.dev/files/src-filter-filter.html new file mode 100644 index 0000000..e457564 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-filter-filter.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                      +

                                                      nostr-php

                                                      + + + + +
                                                      + +
                                                      +
                                                      + + + +
                                                      +
                                                      +
                                                        +
                                                      + +
                                                      +

                                                      Filter.php

                                                      + + + + + + + +

                                                      + Table of Contents + + +

                                                      + + + + +

                                                      + Classes + + +

                                                      +
                                                      +
                                                      Filter
                                                      + + + + + + + + + + + + + +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      
                                                      +        
                                                      + +
                                                      +
                                                      + + + +
                                                      +
                                                      +
                                                      + +
                                                      + On this page + +
                                                        +
                                                      • Table Of Contents
                                                      • +
                                                      • + +
                                                      • + + +
                                                      +
                                                      + +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      +

                                                      Search results

                                                      + +
                                                      +
                                                      +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        + + +
                                                        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-filterinterface.html b/phpdoc.nostr-php.dev/files/src-filterinterface.html new file mode 100644 index 0000000..282d502 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-filterinterface.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                        +

                                                        nostr-php

                                                        + + + + +
                                                        + +
                                                        +
                                                        + + + +
                                                        +
                                                        +
                                                          +
                                                        + +
                                                        +

                                                        FilterInterface.php

                                                        + + + + + + + +

                                                        + Table of Contents + + +

                                                        + + + +

                                                        + Interfaces + + +

                                                        +
                                                        +
                                                        FilterInterface
                                                        + + + + + + + + + + + + + + +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        
                                                        +        
                                                        + +
                                                        +
                                                        + + + +
                                                        +
                                                        +
                                                        + +
                                                        + On this page + + +
                                                        + +
                                                        +
                                                        +
                                                        +
                                                        +
                                                        +

                                                        Search results

                                                        + +
                                                        +
                                                        +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          + + +
                                                          + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-message-closemessage.html b/phpdoc.nostr-php.dev/files/src-message-closemessage.html new file mode 100644 index 0000000..fb229e0 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-message-closemessage.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                          +

                                                          nostr-php

                                                          + + + + +
                                                          + +
                                                          +
                                                          + + + +
                                                          +
                                                          +
                                                            +
                                                          + +
                                                          +

                                                          CloseMessage.php

                                                          + + + + + + + +

                                                          + Table of Contents + + +

                                                          + + + + +

                                                          + Classes + + +

                                                          +
                                                          +
                                                          CloseMessage
                                                          + + + + + + + + + + + + + +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          
                                                          +        
                                                          + +
                                                          +
                                                          + + + +
                                                          +
                                                          +
                                                          + +
                                                          + On this page + +
                                                            +
                                                          • Table Of Contents
                                                          • +
                                                          • + +
                                                          • + + +
                                                          +
                                                          + +
                                                          +
                                                          +
                                                          +
                                                          +
                                                          +

                                                          Search results

                                                          + +
                                                          +
                                                          +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            + + +
                                                            + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-message-messagetypeenum.html b/phpdoc.nostr-php.dev/files/src-message-messagetypeenum.html new file mode 100644 index 0000000..ef8a123 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-message-messagetypeenum.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                            +

                                                            nostr-php

                                                            + + + + +
                                                            + +
                                                            +
                                                            + + + +
                                                            +
                                                            +
                                                              +
                                                            + +
                                                            +

                                                            MessageTypeEnum.php

                                                            + + + + + + + +

                                                            + Table of Contents + + +

                                                            + + + + + + +

                                                            + Enums + + +

                                                            +
                                                            +
                                                            MessageTypeEnum
                                                            Enum with message types.
                                                            + + + + + + + + + + + +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            
                                                            +        
                                                            + +
                                                            +
                                                            + + + +
                                                            +
                                                            +
                                                            + +
                                                            + On this page + +
                                                              +
                                                            • Table Of Contents
                                                            • +
                                                            • + +
                                                            • + + +
                                                            +
                                                            + +
                                                            +
                                                            +
                                                            +
                                                            +
                                                            +

                                                            Search results

                                                            + +
                                                            +
                                                            +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              + + +
                                                              + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-message-requestmessage.html b/phpdoc.nostr-php.dev/files/src-message-requestmessage.html new file mode 100644 index 0000000..6273b2b --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-message-requestmessage.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                              +

                                                              nostr-php

                                                              + + + + +
                                                              + +
                                                              +
                                                              + + + +
                                                              +
                                                              +
                                                                +
                                                              + +
                                                              +

                                                              RequestMessage.php

                                                              + + + + + + + +

                                                              + Table of Contents + + +

                                                              + + + + +

                                                              + Classes + + +

                                                              +
                                                              +
                                                              RequestMessage
                                                              + + + + + + + + + + + + + +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              
                                                              +        
                                                              + +
                                                              +
                                                              + + + +
                                                              +
                                                              +
                                                              + +
                                                              + On this page + +
                                                                +
                                                              • Table Of Contents
                                                              • +
                                                              • + +
                                                              • + + +
                                                              +
                                                              + +
                                                              +
                                                              +
                                                              +
                                                              +
                                                              +

                                                              Search results

                                                              + +
                                                              +
                                                              +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                + + +
                                                                + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relay-relayset.html b/phpdoc.nostr-php.dev/files/src-relay-relayset.html new file mode 100644 index 0000000..8fc5c59 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relay-relayset.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                +

                                                                nostr-php

                                                                + + + + +
                                                                + +
                                                                +
                                                                + + + +
                                                                +
                                                                +
                                                                  +
                                                                + +
                                                                +

                                                                RelaySet.php

                                                                + + + + + + + +

                                                                + Table of Contents + + +

                                                                + + + + +

                                                                + Classes + + +

                                                                +
                                                                +
                                                                RelaySet
                                                                + + + + + + + + + + + + + +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                
                                                                +        
                                                                + +
                                                                +
                                                                + + + +
                                                                +
                                                                +
                                                                + +
                                                                + On this page + +
                                                                  +
                                                                • Table Of Contents
                                                                • +
                                                                • + +
                                                                • + + +
                                                                +
                                                                + +
                                                                +
                                                                +
                                                                +
                                                                +
                                                                +

                                                                Search results

                                                                + +
                                                                +
                                                                +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  + + +
                                                                  + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponse.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponse.html new file mode 100644 index 0000000..f90ec1b --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponse.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                  +

                                                                  nostr-php

                                                                  + + + + +
                                                                  + +
                                                                  +
                                                                  + + + +
                                                                  +
                                                                  +
                                                                    +
                                                                  + +
                                                                  +

                                                                  RelayResponse.php

                                                                  + + + + + + + +

                                                                  + Table of Contents + + +

                                                                  + + + + +

                                                                  + Classes + + +

                                                                  +
                                                                  +
                                                                  RelayResponse
                                                                  + + + + + + + + + + + + + +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  
                                                                  +        
                                                                  + +
                                                                  +
                                                                  + + + +
                                                                  +
                                                                  +
                                                                  + +
                                                                  + On this page + +
                                                                    +
                                                                  • Table Of Contents
                                                                  • +
                                                                  • + +
                                                                  • + + +
                                                                  +
                                                                  + +
                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  +

                                                                  Search results

                                                                  + +
                                                                  +
                                                                  +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    + + +
                                                                    + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseauth.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseauth.html new file mode 100644 index 0000000..ab8c0ce --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseauth.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                    +

                                                                    nostr-php

                                                                    + + + + +
                                                                    + +
                                                                    +
                                                                    + + + +
                                                                    +
                                                                    +
                                                                      +
                                                                    + +
                                                                    +

                                                                    RelayResponseAuth.php

                                                                    + + + + + + + +

                                                                    + Table of Contents + + +

                                                                    + + + + +

                                                                    + Classes + + +

                                                                    +
                                                                    +
                                                                    RelayResponseAuth
                                                                    + + + + + + + + + + + + + +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    
                                                                    +        
                                                                    + +
                                                                    +
                                                                    + + + +
                                                                    +
                                                                    +
                                                                    + +
                                                                    + On this page + +
                                                                      +
                                                                    • Table Of Contents
                                                                    • +
                                                                    • + +
                                                                    • + + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    +

                                                                    Search results

                                                                    + +
                                                                    +
                                                                    +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      + + +
                                                                      + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseclosed.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseclosed.html new file mode 100644 index 0000000..be5dbd9 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseclosed.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                      +

                                                                      nostr-php

                                                                      + + + + +
                                                                      + +
                                                                      +
                                                                      + + + +
                                                                      +
                                                                      +
                                                                        +
                                                                      + +
                                                                      +

                                                                      RelayResponseClosed.php

                                                                      + + + + + + + +

                                                                      + Table of Contents + + +

                                                                      + + + + +

                                                                      + Classes + + +

                                                                      +
                                                                      +
                                                                      RelayResponseClosed
                                                                      + + + + + + + + + + + + + +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      
                                                                      +        
                                                                      + +
                                                                      +
                                                                      + + + +
                                                                      +
                                                                      +
                                                                      + +
                                                                      + On this page + +
                                                                        +
                                                                      • Table Of Contents
                                                                      • +
                                                                      • + +
                                                                      • + + +
                                                                      +
                                                                      + +
                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      +

                                                                      Search results

                                                                      + +
                                                                      +
                                                                      +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        + + +
                                                                        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseenum.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseenum.html new file mode 100644 index 0000000..f74f88b --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseenum.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                        +

                                                                        nostr-php

                                                                        + + + + +
                                                                        + +
                                                                        +
                                                                        + + + +
                                                                        +
                                                                        +
                                                                          +
                                                                        + +
                                                                        +

                                                                        RelayResponseEnum.php

                                                                        + + + + + + + +

                                                                        + Table of Contents + + +

                                                                        + + + + + + +

                                                                        + Enums + + +

                                                                        +
                                                                        +
                                                                        RelayResponseEnum
                                                                        Enum with response types.
                                                                        + + + + + + + + + + + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        
                                                                        +        
                                                                        + +
                                                                        +
                                                                        + + + +
                                                                        +
                                                                        +
                                                                        + +
                                                                        + On this page + +
                                                                          +
                                                                        • Table Of Contents
                                                                        • +
                                                                        • + +
                                                                        • + + +
                                                                        +
                                                                        + +
                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        +

                                                                        Search results

                                                                        + +
                                                                        +
                                                                        +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          + + +
                                                                          + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseeose.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseeose.html new file mode 100644 index 0000000..4be1ee5 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseeose.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                          +

                                                                          nostr-php

                                                                          + + + + +
                                                                          + +
                                                                          +
                                                                          + + + +
                                                                          +
                                                                          +
                                                                            +
                                                                          + +
                                                                          +

                                                                          RelayResponseEose.php

                                                                          + + + + + + + +

                                                                          + Table of Contents + + +

                                                                          + + + + +

                                                                          + Classes + + +

                                                                          +
                                                                          +
                                                                          RelayResponseEose
                                                                          + + + + + + + + + + + + + +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          
                                                                          +        
                                                                          + +
                                                                          +
                                                                          + + + +
                                                                          +
                                                                          +
                                                                          + +
                                                                          + On this page + +
                                                                            +
                                                                          • Table Of Contents
                                                                          • +
                                                                          • + +
                                                                          • + + +
                                                                          +
                                                                          + +
                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          +

                                                                          Search results

                                                                          + +
                                                                          +
                                                                          +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            + + +
                                                                            + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseevent.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseevent.html new file mode 100644 index 0000000..b9cc394 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseevent.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                            +

                                                                            nostr-php

                                                                            + + + + +
                                                                            + +
                                                                            +
                                                                            + + + +
                                                                            +
                                                                            +
                                                                              +
                                                                            + +
                                                                            +

                                                                            RelayResponseEvent.php

                                                                            + + + + + + + +

                                                                            + Table of Contents + + +

                                                                            + + + + +

                                                                            + Classes + + +

                                                                            +
                                                                            +
                                                                            RelayResponseEvent
                                                                            + + + + + + + + + + + + + +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            
                                                                            +        
                                                                            + +
                                                                            +
                                                                            + + + +
                                                                            +
                                                                            +
                                                                            + +
                                                                            + On this page + +
                                                                              +
                                                                            • Table Of Contents
                                                                            • +
                                                                            • + +
                                                                            • + + +
                                                                            +
                                                                            + +
                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            +

                                                                            Search results

                                                                            + +
                                                                            +
                                                                            +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              + + +
                                                                              + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponsenotice.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponsenotice.html new file mode 100644 index 0000000..ce20cb1 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponsenotice.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                              +

                                                                              nostr-php

                                                                              + + + + +
                                                                              + +
                                                                              +
                                                                              + + + +
                                                                              +
                                                                              +
                                                                                +
                                                                              + +
                                                                              +

                                                                              RelayResponseNotice.php

                                                                              + + + + + + + +

                                                                              + Table of Contents + + +

                                                                              + + + + +

                                                                              + Classes + + +

                                                                              +
                                                                              +
                                                                              RelayResponseNotice
                                                                              + + + + + + + + + + + + + +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              
                                                                              +        
                                                                              + +
                                                                              +
                                                                              + + + +
                                                                              +
                                                                              +
                                                                              + +
                                                                              + On this page + +
                                                                                +
                                                                              • Table Of Contents
                                                                              • +
                                                                              • + +
                                                                              • + + +
                                                                              +
                                                                              + +
                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              +

                                                                              Search results

                                                                              + +
                                                                              +
                                                                              +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                + + +
                                                                                + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseok.html b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseok.html new file mode 100644 index 0000000..adc1784 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponse-relayresponseok.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                +

                                                                                nostr-php

                                                                                + + + + +
                                                                                + +
                                                                                +
                                                                                + + + +
                                                                                +
                                                                                +
                                                                                  +
                                                                                + +
                                                                                +

                                                                                RelayResponseOk.php

                                                                                + + + + + + + +

                                                                                + Table of Contents + + +

                                                                                + + + + +

                                                                                + Classes + + +

                                                                                +
                                                                                +
                                                                                RelayResponseOk
                                                                                + + + + + + + + + + + + + +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                
                                                                                +        
                                                                                + +
                                                                                +
                                                                                + + + +
                                                                                +
                                                                                +
                                                                                + +
                                                                                + On this page + +
                                                                                  +
                                                                                • Table Of Contents
                                                                                • +
                                                                                • + +
                                                                                • + + +
                                                                                +
                                                                                + +
                                                                                +
                                                                                +
                                                                                +
                                                                                +
                                                                                +

                                                                                Search results

                                                                                + +
                                                                                +
                                                                                +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  + + +
                                                                                  + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relayresponseinterface.html b/phpdoc.nostr-php.dev/files/src-relayresponseinterface.html new file mode 100644 index 0000000..b6891e2 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relayresponseinterface.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                  +

                                                                                  nostr-php

                                                                                  + + + + +
                                                                                  + +
                                                                                  +
                                                                                  + + + +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                  + +
                                                                                  +

                                                                                  RelayResponseInterface.php

                                                                                  + + + + + + + +

                                                                                  + Table of Contents + + +

                                                                                  + + + +

                                                                                  + Interfaces + + +

                                                                                  +
                                                                                  +
                                                                                  RelayResponseInterface
                                                                                  + + + + + + + + + + + + + + +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  
                                                                                  +        
                                                                                  + +
                                                                                  +
                                                                                  + + + +
                                                                                  +
                                                                                  +
                                                                                  + +
                                                                                  + On this page + + +
                                                                                  + +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  +

                                                                                  Search results

                                                                                  + +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    + + +
                                                                                    + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-relaysetinterface.html b/phpdoc.nostr-php.dev/files/src-relaysetinterface.html new file mode 100644 index 0000000..980abb8 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-relaysetinterface.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                    +

                                                                                    nostr-php

                                                                                    + + + + +
                                                                                    + +
                                                                                    +
                                                                                    + + + +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                    + +
                                                                                    +

                                                                                    RelaySetInterface.php

                                                                                    + + + + + + + +

                                                                                    + Table of Contents + + +

                                                                                    + + + +

                                                                                    + Interfaces + + +

                                                                                    +
                                                                                    +
                                                                                    RelaySetInterface
                                                                                    + + + + + + + + + + + + + + +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    
                                                                                    +        
                                                                                    + +
                                                                                    +
                                                                                    + + + +
                                                                                    +
                                                                                    +
                                                                                    + +
                                                                                    + On this page + + +
                                                                                    + +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    +

                                                                                    Search results

                                                                                    + +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      + + +
                                                                                      + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-request-request.html b/phpdoc.nostr-php.dev/files/src-request-request.html new file mode 100644 index 0000000..46b8db6 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-request-request.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                      +

                                                                                      nostr-php

                                                                                      + + + + +
                                                                                      + +
                                                                                      +
                                                                                      + + + +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                      + +
                                                                                      +

                                                                                      Request.php

                                                                                      + + + + + + + +

                                                                                      + Table of Contents + + +

                                                                                      + + + + +

                                                                                      + Classes + + +

                                                                                      +
                                                                                      +
                                                                                      Request
                                                                                      + + + + + + + + + + + + + +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      
                                                                                      +        
                                                                                      + +
                                                                                      +
                                                                                      + + + +
                                                                                      +
                                                                                      +
                                                                                      + +
                                                                                      + On this page + +
                                                                                        +
                                                                                      • Table Of Contents
                                                                                      • +
                                                                                      • + +
                                                                                      • + + +
                                                                                      +
                                                                                      + +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +

                                                                                      Search results

                                                                                      + +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        + + +
                                                                                        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-requestinterface.html b/phpdoc.nostr-php.dev/files/src-requestinterface.html new file mode 100644 index 0000000..b02fa94 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-requestinterface.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                        +

                                                                                        nostr-php

                                                                                        + + + + +
                                                                                        + +
                                                                                        +
                                                                                        + + + +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                        + +
                                                                                        +

                                                                                        RequestInterface.php

                                                                                        + + + + + + + +

                                                                                        + Table of Contents + + +

                                                                                        + + + +

                                                                                        + Interfaces + + +

                                                                                        +
                                                                                        +
                                                                                        RequestInterface
                                                                                        + + + + + + + + + + + + + + +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        
                                                                                        +        
                                                                                        + +
                                                                                        +
                                                                                        + + + +
                                                                                        +
                                                                                        +
                                                                                        + +
                                                                                        + On this page + + +
                                                                                        + +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +

                                                                                        Search results

                                                                                        + +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          + + +
                                                                                          + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-subscription-subscription.html b/phpdoc.nostr-php.dev/files/src-subscription-subscription.html new file mode 100644 index 0000000..e7e5ce0 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-subscription-subscription.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                          +

                                                                                          nostr-php

                                                                                          + + + + +
                                                                                          + +
                                                                                          +
                                                                                          + + + +
                                                                                          +
                                                                                          +
                                                                                            +
                                                                                          + +
                                                                                          +

                                                                                          Subscription.php

                                                                                          + + + + + + + +

                                                                                          + Table of Contents + + +

                                                                                          + + + + +

                                                                                          + Classes + + +

                                                                                          +
                                                                                          +
                                                                                          Subscription
                                                                                          + + + + + + + + + + + + + +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          
                                                                                          +        
                                                                                          + +
                                                                                          +
                                                                                          + + + +
                                                                                          +
                                                                                          +
                                                                                          + +
                                                                                          + On this page + +
                                                                                            +
                                                                                          • Table Of Contents
                                                                                          • +
                                                                                          • + +
                                                                                          • + + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +

                                                                                          Search results

                                                                                          + +
                                                                                          +
                                                                                          +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            + + +
                                                                                            + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/src-subscriptioninterface.html b/phpdoc.nostr-php.dev/files/src-subscriptioninterface.html new file mode 100644 index 0000000..7247bd3 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/src-subscriptioninterface.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                            +

                                                                                            nostr-php

                                                                                            + + + + +
                                                                                            + +
                                                                                            +
                                                                                            + + + +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            + +
                                                                                            +

                                                                                            SubscriptionInterface.php

                                                                                            + + + + + + + +

                                                                                            + Table of Contents + + +

                                                                                            + + + +

                                                                                            + Interfaces + + +

                                                                                            +
                                                                                            +
                                                                                            SubscriptionInterface
                                                                                            + + + + + + + + + + + + + + +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            
                                                                                            +        
                                                                                            + +
                                                                                            +
                                                                                            + + + +
                                                                                            +
                                                                                            +
                                                                                            + +
                                                                                            + On this page + + +
                                                                                            + +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +

                                                                                            Search results

                                                                                            + +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              + + +
                                                                                              + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/tests-relayresponsetest.html b/phpdoc.nostr-php.dev/files/tests-relayresponsetest.html new file mode 100644 index 0000000..f62fcee --- /dev/null +++ b/phpdoc.nostr-php.dev/files/tests-relayresponsetest.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                              +

                                                                                              nostr-php

                                                                                              + + + + +
                                                                                              + +
                                                                                              +
                                                                                              + + + +
                                                                                              +
                                                                                              +
                                                                                                +
                                                                                              + +
                                                                                              +

                                                                                              RelayResponseTest.php

                                                                                              + + + + + + + +

                                                                                              + Table of Contents + + +

                                                                                              + + + + +

                                                                                              + Classes + + +

                                                                                              +
                                                                                              +
                                                                                              RelayResponseTest
                                                                                              + + + + + + + + + + + + + +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              
                                                                                              +        
                                                                                              + +
                                                                                              +
                                                                                              + + + +
                                                                                              +
                                                                                              +
                                                                                              + +
                                                                                              + On this page + +
                                                                                                +
                                                                                              • Table Of Contents
                                                                                              • +
                                                                                              • + +
                                                                                              • + + +
                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +

                                                                                              Search results

                                                                                              + +
                                                                                              +
                                                                                              +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                + + +
                                                                                                + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/tests-relaysettest.html b/phpdoc.nostr-php.dev/files/tests-relaysettest.html new file mode 100644 index 0000000..74d0780 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/tests-relaysettest.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                                +

                                                                                                nostr-php

                                                                                                + + + + +
                                                                                                + +
                                                                                                +
                                                                                                + + + +
                                                                                                +
                                                                                                +
                                                                                                  +
                                                                                                + +
                                                                                                +

                                                                                                RelaySetTest.php

                                                                                                + + + + + + + +

                                                                                                + Table of Contents + + +

                                                                                                + + + + +

                                                                                                + Classes + + +

                                                                                                +
                                                                                                +
                                                                                                RelaySetTest
                                                                                                + + + + + + + + + + + + + +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                
                                                                                                +        
                                                                                                + +
                                                                                                +
                                                                                                + + + +
                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                + On this page + +
                                                                                                  +
                                                                                                • Table Of Contents
                                                                                                • +
                                                                                                • + +
                                                                                                • + + +
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +

                                                                                                Search results

                                                                                                + +
                                                                                                +
                                                                                                +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  + + +
                                                                                                  + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/files/tests-requesttest.html b/phpdoc.nostr-php.dev/files/tests-requesttest.html new file mode 100644 index 0000000..b06f4d9 --- /dev/null +++ b/phpdoc.nostr-php.dev/files/tests-requesttest.html @@ -0,0 +1,298 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                                  +

                                                                                                  nostr-php

                                                                                                  + + + + +
                                                                                                  + +
                                                                                                  +
                                                                                                  + + + +
                                                                                                  +
                                                                                                  +
                                                                                                    +
                                                                                                  + +
                                                                                                  +

                                                                                                  RequestTest.php

                                                                                                  + + + + + + + +

                                                                                                  + Table of Contents + + +

                                                                                                  + + + + +

                                                                                                  + Classes + + +

                                                                                                  +
                                                                                                  +
                                                                                                  RequestTest
                                                                                                  + + + + + + + + + + + + + +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  
                                                                                                  +        
                                                                                                  + +
                                                                                                  +
                                                                                                  + + + +
                                                                                                  +
                                                                                                  +
                                                                                                  + +
                                                                                                  + On this page + +
                                                                                                    +
                                                                                                  • Table Of Contents
                                                                                                  • +
                                                                                                  • + +
                                                                                                  • + + +
                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +

                                                                                                  Search results

                                                                                                  + +
                                                                                                  +
                                                                                                  +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    + + +
                                                                                                    + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/index.html b/phpdoc.nostr-php.dev/index.html index c9f7e1e..8df9824 100644 --- a/phpdoc.nostr-php.dev/index.html +++ b/phpdoc.nostr-php.dev/index.html @@ -152,7 +152,7 @@

                                                                                                    -
                                                                                                    ConvertTest
                                                                                                    GenerateTest
                                                                                                    RelayTest
                                                                                                    SerializeTest
                                                                                                    VerifyTest
                                                                                                    +
                                                                                                    ConvertTest
                                                                                                    GenerateTest
                                                                                                    RelayResponseTest
                                                                                                    RelaySetTest
                                                                                                    RelayTest
                                                                                                    RequestTest
                                                                                                    SerializeTest
                                                                                                    VerifyTest
                                                                                                    diff --git a/phpdoc.nostr-php.dev/indices/files.html b/phpdoc.nostr-php.dev/indices/files.html index e4285fa..0639132 100644 --- a/phpdoc.nostr-php.dev/indices/files.html +++ b/phpdoc.nostr-php.dev/indices/files.html @@ -122,6 +122,7 @@

                                                                                                    Files

                                                                                                    C

                                                                                                    -

                                                                                                    G

                                                                                                    +

                                                                                                    F

                                                                                                    + +

                                                                                                    G

                                                                                                    @@ -143,17 +149,43 @@

                                                                                                    K

                                                                                                    M

                                                                                                    +

                                                                                                    P

                                                                                                    + -

                                                                                                    R

                                                                                                    +

                                                                                                    R

                                                                                                    S

                                                                                                    V

                                                                                                      diff --git a/phpdoc.nostr-php.dev/js/searchIndex.js b/phpdoc.nostr-php.dev/js/searchIndex.js index d5792d5..b74f3f1 100644 --- a/phpdoc.nostr-php.dev/js/searchIndex.js +++ b/phpdoc.nostr-php.dev/js/searchIndex.js @@ -265,6 +265,161 @@ Search.appendIndex( "name": "verify", "summary": "Returns\u0020true\u0020if\u0020event\u0020object\u0020encodes\u0020to\u0020a\u0020valid\u0020Nostr\u0020event\u0020JSON\u0020string.", "url": "classes/swentel-nostr-EventInterface.html#method_verify" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter", + "name": "Filter", + "summary": "", + "url": "classes/swentel-nostr-Filter-Filter.html" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetIds\u0028\u0029", + "name": "setIds", + "summary": "Set\u0020the\u0020ids\u0020for\u0020filtering\u0020multiple\u0020events.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setIds" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetAuthors\u0028\u0029", + "name": "setAuthors", + "summary": "Set\u0020the\u0020authors\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setAuthors" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetKinds\u0028\u0029", + "name": "setKinds", + "summary": "Set\u0020the\u0020kinds\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setKinds" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetLowercaseETags\u0028\u0029", + "name": "setLowercaseETags", + "summary": "Set\u0020the\u0020\u0023e\u0020tag\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setLowercaseETags" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetLowercasePTags\u0028\u0029", + "name": "setLowercasePTags", + "summary": "Set\u0020the\u0020\u0023p\u0020tag\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setLowercasePTags" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetSince\u0028\u0029", + "name": "setSince", + "summary": "Set\u0020since\u0020parameter\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setSince" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetUntil\u0028\u0029", + "name": "setUntil", + "summary": "Set\u0020the\u0020until\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setUntil" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AsetLimit\u0028\u0029", + "name": "setLimit", + "summary": "Set\u0020the\u0020limit\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_setLimit" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AisLowercaseHex\u0028\u0029", + "name": "isLowercaseHex", + "summary": "Check\u0020if\u0020a\u0020given\u0020string\u0020is\u0020a\u002064\u002Dcharacter\u0020lowercase\u0020hexadecimal\u0020value.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_isLowercaseHex" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AisValidTimestamp\u0028\u0029", + "name": "isValidTimestamp", + "summary": "Check\u0020if\u0020a\u0020given\u0020timestamp\u0020is\u0020valid.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_isValidTimestamp" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020an\u0020array\u0020representation\u0020of\u0020the\u0020object\u0020by\u0020iterating\u0020through\u0020its\u0020properties.", + "url": "classes/swentel-nostr-Filter-Filter.html#method_toArray" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024ids", + "name": "ids", + "summary": "A\u0020list\u0020of\u0020event\u0020ids", + "url": "classes/swentel-nostr-Filter-Filter.html#property_ids" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024authors", + "name": "authors", + "summary": "A\u0020list\u0020of\u0020lowercase\u0020pubkeys,\u0020the\u0020pubkey\u0020of\u0020an\u0020event\u0020must\u0020be\u0020one\u0020of\u0020these", + "url": "classes/swentel-nostr-Filter-Filter.html#property_authors" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024kinds", + "name": "kinds", + "summary": "A\u0020list\u0020of\u0020a\u0020kind\u0020numbers", + "url": "classes/swentel-nostr-Filter-Filter.html#property_kinds" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024etags", + "name": "etags", + "summary": "A\u0020list\u0020of\u0020\u0023e\u0020tag\u0020values\u0020\u0028list\u0020of\u0020event\u0020ids\u0029", + "url": "classes/swentel-nostr-Filter-Filter.html#property_etags" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024ptags", + "name": "ptags", + "summary": "A\u0020list\u0020of\u0020\u0023p\u0020tag\u0020values\u0020\u0028list\u0020of\u0020pubkeys\u0029.", + "url": "classes/swentel-nostr-Filter-Filter.html#property_ptags" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024since", + "name": "since", + "summary": "An\u0020integer\u0020unix\u0020timestamp\u0020in\u0020seconds,\u0020events\u0020must\u0020be\u0020newer\u0020than\u0020this\u0020to\u0020pass", + "url": "classes/swentel-nostr-Filter-Filter.html#property_since" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024until", + "name": "until", + "summary": "An\u0020integer\u0020unix\u0020timestamp\u0020in\u0020seconds,\u0020events\u0020must\u0020be\u0020older\u0020than\u0020this\u0020to\u0020pass", + "url": "classes/swentel-nostr-Filter-Filter.html#property_until" + }, { + "fqsen": "\\swentel\\nostr\\Filter\\Filter\u003A\u003A\u0024limit", + "name": "limit", + "summary": "Maximum\u0020number\u0020of\u0020events\u0020relays\u0020SHOULD\u0020return\u0020in\u0020the\u0020initial\u0020query", + "url": "classes/swentel-nostr-Filter-Filter.html#property_limit" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface", + "name": "FilterInterface", + "summary": "", + "url": "classes/swentel-nostr-FilterInterface.html" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AsetAuthors\u0028\u0029", + "name": "setAuthors", + "summary": "Set\u0020the\u0020authors\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-FilterInterface.html#method_setAuthors" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AsetKinds\u0028\u0029", + "name": "setKinds", + "summary": "Set\u0020the\u0020kinds\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-FilterInterface.html#method_setKinds" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AsetLowercaseETags\u0028\u0029", + "name": "setLowercaseETags", + "summary": "Set\u0020the\u0020tag\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-FilterInterface.html#method_setLowercaseETags" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AsetLowercasePTags\u0028\u0029", + "name": "setLowercasePTags", + "summary": "Set\u0020the\u0020\u0023p\u0020tag\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-FilterInterface.html#method_setLowercasePTags" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AsetSince\u0028\u0029", + "name": "setSince", + "summary": "Set\u0020the\u0020since\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-FilterInterface.html#method_setSince" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AsetUntil\u0028\u0029", + "name": "setUntil", + "summary": "Set\u0020the\u0020until\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-FilterInterface.html#method_setUntil" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AsetLimit\u0028\u0029", + "name": "setLimit", + "summary": "Set\u0020the\u0020limit\u0020for\u0020the\u0020Filter\u0020object.", + "url": "classes/swentel-nostr-FilterInterface.html#method_setLimit" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AisLowercaseHex\u0028\u0029", + "name": "isLowercaseHex", + "summary": "Check\u0020if\u0020a\u0020given\u0020string\u0020is\u0020a\u002064\u002Dcharacter\u0020lowercase\u0020hexadecimal\u0020value.", + "url": "classes/swentel-nostr-FilterInterface.html#method_isLowercaseHex" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AisValidTimestamp\u0028\u0029", + "name": "isValidTimestamp", + "summary": "Check\u0020if\u0020a\u0020given\u0020timestamp\u0020is\u0020valid.", + "url": "classes/swentel-nostr-FilterInterface.html#method_isValidTimestamp" + }, { + "fqsen": "\\swentel\\nostr\\FilterInterface\u003A\u003AtoArray\u0028\u0029", + "name": "toArray", + "summary": "Return\u0020an\u0020array\u0020representation\u0020of\u0020the\u0020object\u0020by\u0020iterating\u0020through\u0020its\u0020properties.", + "url": "classes/swentel-nostr-FilterInterface.html#method_toArray" }, { "fqsen": "\\swentel\\nostr\\Key\\Key", "name": "Key", @@ -278,28 +433,58 @@ Search.appendIndex( }, { "fqsen": "\\swentel\\nostr\\Key\\Key\u003A\u003AgetPublicKey\u0028\u0029", "name": "getPublicKey", - "summary": "Generate\u0020public\u0020key\u0020from\u0020private\u0020key\u0020as\u0020hex.", + "summary": "Generate\u0020public\u0020hex\u0020key\u0020from\u0020private\u0020hex\u0020key.", "url": "classes/swentel-nostr-Key-Key.html#method_getPublicKey" }, { "fqsen": "\\swentel\\nostr\\Key\\Key\u003A\u003AconvertToHex\u0028\u0029", "name": "convertToHex", - "summary": "Convert\u0020a\u0020key\u0020to\u0020hex.", + "summary": "Convert\u0020a\u0020bech32\u0020encoded\u0020key\u0020to\u0020hex\u0020key.", "url": "classes/swentel-nostr-Key-Key.html#method_convertToHex" }, { "fqsen": "\\swentel\\nostr\\Key\\Key\u003A\u003AconvertPublicKeyToBech32\u0028\u0029", "name": "convertPublicKeyToBech32", - "summary": "Convert\u0020a\u0020public\u0020hex\u0020key\u0020to\u0020bech32.", + "summary": "Convert\u0020a\u0020public\u0020hex\u0020key\u0020to\u0020a\u0020bech32\u0020encoded\u0020string\u0020\u0028npub\u0029.", "url": "classes/swentel-nostr-Key-Key.html#method_convertPublicKeyToBech32" }, { "fqsen": "\\swentel\\nostr\\Key\\Key\u003A\u003AconvertPrivateKeyToBech32\u0028\u0029", "name": "convertPrivateKeyToBech32", - "summary": "Convert\u0020a\u0020private\u0020hex\u0020key\u0020to\u0020bech32.", + "summary": "Convert\u0020a\u0020private\u0020hex\u0020key\u0020to\u0020bech32\u0020encoded\u0020string\u0020\u0028nsec\u0029.", "url": "classes/swentel-nostr-Key-Key.html#method_convertPrivateKeyToBech32" }, { "fqsen": "\\swentel\\nostr\\Key\\Key\u003A\u003AconvertToBech32\u0028\u0029", "name": "convertToBech32", - "summary": "Convert\u0020a\u0020hex\u0020key\u0020to\u0020bech32.", + "summary": "Convert\u0020a\u0020hex\u0020key\u0020to\u0020bech32\u0020encoded\u0020string.", "url": "classes/swentel-nostr-Key-Key.html#method_convertToBech32" + }, { + "fqsen": "\\swentel\\nostr\\Message\\CloseMessage", + "name": "CloseMessage", + "summary": "", + "url": "classes/swentel-nostr-Message-CloseMessage.html" + }, { + "fqsen": "\\swentel\\nostr\\Message\\CloseMessage\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-Message-CloseMessage.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\Message\\CloseMessage\u003A\u003AsetType\u0028\u0029", + "name": "setType", + "summary": "Set\u0020message\u0020type.", + "url": "classes/swentel-nostr-Message-CloseMessage.html#method_setType" + }, { + "fqsen": "\\swentel\\nostr\\Message\\CloseMessage\u003A\u003Agenerate\u0028\u0029", + "name": "generate", + "summary": "Generate\u0020the\u0020message\u0020ready\u0020to\u0020be\u0020sent\u0020to\u0020a\u0020relay.", + "url": "classes/swentel-nostr-Message-CloseMessage.html#method_generate" + }, { + "fqsen": "\\swentel\\nostr\\Message\\CloseMessage\u003A\u003A\u0024type", + "name": "type", + "summary": "", + "url": "classes/swentel-nostr-Message-CloseMessage.html#property_type" + }, { + "fqsen": "\\swentel\\nostr\\Message\\CloseMessage\u003A\u003A\u0024subscriptionId", + "name": "subscriptionId", + "summary": "Subscription\u0020ID", + "url": "classes/swentel-nostr-Message-CloseMessage.html#property_subscriptionId" }, { "fqsen": "\\swentel\\nostr\\Message\\EventMessage", "name": "EventMessage", @@ -310,21 +495,96 @@ Search.appendIndex( "name": "__construct", "summary": "", "url": "classes/swentel-nostr-Message-EventMessage.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\Message\\EventMessage\u003A\u003AsetType\u0028\u0029", + "name": "setType", + "summary": "", + "url": "classes/swentel-nostr-Message-EventMessage.html#method_setType" + }, { + "fqsen": "\\swentel\\nostr\\Message\\EventMessage\u003A\u003AgetType\u0028\u0029", + "name": "getType", + "summary": "", + "url": "classes/swentel-nostr-Message-EventMessage.html#method_getType" }, { "fqsen": "\\swentel\\nostr\\Message\\EventMessage\u003A\u003Agenerate\u0028\u0029", "name": "generate", "summary": "Generate\u0020the\u0020message\u0020ready\u0020to\u0020be\u0020sent\u0020to\u0020a\u0020relay.", "url": "classes/swentel-nostr-Message-EventMessage.html#method_generate" + }, { + "fqsen": "\\swentel\\nostr\\Message\\EventMessage\u003A\u003A\u0024type", + "name": "type", + "summary": "Message\u0020type.", + "url": "classes/swentel-nostr-Message-EventMessage.html#property_type" }, { "fqsen": "\\swentel\\nostr\\Message\\EventMessage\u003A\u003A\u0024event", "name": "event", "summary": "The\u0020event.", "url": "classes/swentel-nostr-Message-EventMessage.html#property_event" + }, { + "fqsen": "\\swentel\\nostr\\Message\\MessageTypeEnum", + "name": "MessageTypeEnum", + "summary": "Enum\u0020with\u0020message\u0020types.", + "url": "classes/swentel-nostr-Message-MessageTypeEnum.html" + }, { + "fqsen": "\\swentel\\nostr\\Message\\MessageTypeEnum\u003A\u003AEVENT", + "name": "EVENT", + "summary": "", + "url": "classes/swentel-nostr-Message-MessageTypeEnum.html#enumcase_EVENT" + }, { + "fqsen": "\\swentel\\nostr\\Message\\MessageTypeEnum\u003A\u003AREQUEST", + "name": "REQUEST", + "summary": "", + "url": "classes/swentel-nostr-Message-MessageTypeEnum.html#enumcase_REQUEST" + }, { + "fqsen": "\\swentel\\nostr\\Message\\MessageTypeEnum\u003A\u003ACLOSE", + "name": "CLOSE", + "summary": "", + "url": "classes/swentel-nostr-Message-MessageTypeEnum.html#enumcase_CLOSE" + }, { + "fqsen": "\\swentel\\nostr\\Message\\RequestMessage", + "name": "RequestMessage", + "summary": "", + "url": "classes/swentel-nostr-Message-RequestMessage.html" + }, { + "fqsen": "\\swentel\\nostr\\Message\\RequestMessage\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor\u0020for\u0020the\u0020RequestMessage\u0020class.", + "url": "classes/swentel-nostr-Message-RequestMessage.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\Message\\RequestMessage\u003A\u003AsetType\u0028\u0029", + "name": "setType", + "summary": "Set\u0020message\u0020type.", + "url": "classes/swentel-nostr-Message-RequestMessage.html#method_setType" + }, { + "fqsen": "\\swentel\\nostr\\Message\\RequestMessage\u003A\u003Agenerate\u0028\u0029", + "name": "generate", + "summary": "Generates\u0020a\u0020JSON\u002Dencoded\u0020request\u0020array\u0020by\u0020merging\u0020the\u0020subscription\u0020ID\u0020and\u0020filters\u0020array.", + "url": "classes/swentel-nostr-Message-RequestMessage.html#method_generate" + }, { + "fqsen": "\\swentel\\nostr\\Message\\RequestMessage\u003A\u003A\u0024type", + "name": "type", + "summary": "Message\u0020type.", + "url": "classes/swentel-nostr-Message-RequestMessage.html#property_type" + }, { + "fqsen": "\\swentel\\nostr\\Message\\RequestMessage\u003A\u003A\u0024subscriptionId", + "name": "subscriptionId", + "summary": "An\u0020arbitrary,\u0020non\u002Dempty\u0020string\u0020of\u0020max\u0020length\u002064\u0020chars", + "url": "classes/swentel-nostr-Message-RequestMessage.html#property_subscriptionId" + }, { + "fqsen": "\\swentel\\nostr\\Message\\RequestMessage\u003A\u003A\u0024filters", + "name": "filters", + "summary": "Array\u0020of\u0020filters", + "url": "classes/swentel-nostr-Message-RequestMessage.html#property_filters" }, { "fqsen": "\\swentel\\nostr\\MessageInterface", "name": "MessageInterface", "summary": "", "url": "classes/swentel-nostr-MessageInterface.html" + }, { + "fqsen": "\\swentel\\nostr\\MessageInterface\u003A\u003AsetType\u0028\u0029", + "name": "setType", + "summary": "", + "url": "classes/swentel-nostr-MessageInterface.html#method_setType" }, { "fqsen": "\\swentel\\nostr\\MessageInterface\u003A\u003Agenerate\u0028\u0029", "name": "generate", @@ -373,43 +633,438 @@ Search.appendIndex( }, { "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003A__construct\u0028\u0029", "name": "__construct", - "summary": "Constructs\u0020the\u0020Relay.", + "summary": "Relay\u0020constructor.", "url": "classes/swentel-nostr-Relay-Relay.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003AvalidateUrl\u0028\u0029", + "name": "validateUrl", + "summary": "", + "url": "classes/swentel-nostr-Relay-Relay.html#method_validateUrl" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003AsetUrl\u0028\u0029", + "name": "setUrl", + "summary": "Set\u0020URL\u0020of\u0020the\u0020relay.", + "url": "classes/swentel-nostr-Relay-Relay.html#method_setUrl" }, { "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003AgetUrl\u0028\u0029", "name": "getUrl", - "summary": "Get\u0020url\u0020of\u0020the\u0020relay.", + "summary": "Get\u0020URL\u0020of\u0020the\u0020relay.", "url": "classes/swentel-nostr-Relay-Relay.html#method_getUrl" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003AsetMessage\u0028\u0029", + "name": "setMessage", + "summary": "Set\u0020message\u0020that\u0020will\u0020be\u0020sent\u0020to\u0020the\u0020relay.", + "url": "classes/swentel-nostr-Relay-Relay.html#method_setMessage" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003AsetPayload\u0028\u0029", + "name": "setPayload", + "summary": "", + "url": "classes/swentel-nostr-Relay-Relay.html#method_setPayload" }, { "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003Asend\u0028\u0029", "name": "send", - "summary": "Send\u0020the\u0020message\u0020to\u0020the\u0020relay.", + "summary": "Sends\u0020the\u0020message\u0020to\u0020the\u0020relay.", "url": "classes/swentel-nostr-Relay-Relay.html#method_send" }, { "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003A\u0024url", "name": "url", "summary": "The\u0020relay\u0020URL.", "url": "classes/swentel-nostr-Relay-Relay.html#property_url" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003A\u0024message", + "name": "message", + "summary": "The\u0020message\u0020to\u0020be\u0020sent.", + "url": "classes/swentel-nostr-Relay-Relay.html#property_message" }, { "fqsen": "\\swentel\\nostr\\Relay\\Relay\u003A\u003A\u0024payload", "name": "payload", - "summary": "the\u0020payload\u0020to\u0020send.", + "summary": "The\u0020payload\u0020to\u0020be\u0020sent.", "url": "classes/swentel-nostr-Relay-Relay.html#property_payload" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet", + "name": "RelaySet", + "summary": "", + "url": "classes/swentel-nostr-Relay-RelaySet.html" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003AsetRelays\u0028\u0029", + "name": "setRelays", + "summary": "Set\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_setRelays" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003AgetRelays\u0028\u0029", + "name": "getRelays", + "summary": "Get\u0020all\u0020relays.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_getRelays" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003AaddRelay\u0028\u0029", + "name": "addRelay", + "summary": "Add\u0020relay\u0020to\u0020this\u0020set.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_addRelay" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003AremoveRelay\u0028\u0029", + "name": "removeRelay", + "summary": "Remove\u0020relay\u0020from\u0020this\u0020set.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_removeRelay" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003AcreateFromUrls\u0028\u0029", + "name": "createFromUrls", + "summary": "Create\u0020a\u0020relay\u0020set\u0020from\u0020a\u0020list\u0020of\u0020relay\u0020URLs.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_createFromUrls" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003AsetMessage\u0028\u0029", + "name": "setMessage", + "summary": "The\u0020message\u0020to\u0020be\u0020sent\u0020to\u0020the\u0020relays.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_setMessage" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003Aconnect\u0028\u0029", + "name": "connect", + "summary": "Connect\u0020to\u0020all\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_connect" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003Adisconnect\u0028\u0029", + "name": "disconnect", + "summary": "Disconnect\u0020all\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_disconnect" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003A\u0024isConnected", + "name": "isConnected", + "summary": "Are\u0020all\u0020relays\u0020connected\u0020in\u0020this\u0020relay\u0020set\u003F", + "url": "classes/swentel-nostr-Relay-RelaySet.html#property_isConnected" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Sends\u0020the\u0020message\u0020to\u0020all\u0020the\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#method_send" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003A\u0024relays", + "name": "relays", + "summary": "Array\u0020with\u0020Relay\u0020objects.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#property_relays" + }, { + "fqsen": "\\swentel\\nostr\\Relay\\RelaySet\u003A\u003A\u0024message", + "name": "message", + "summary": "The\u0020message\u0020to\u0020be\u0020sent\u0020to\u0020all\u0020relays.", + "url": "classes/swentel-nostr-Relay-RelaySet.html#property_message" }, { "fqsen": "\\swentel\\nostr\\RelayInterface", "name": "RelayInterface", "summary": "", "url": "classes/swentel-nostr-RelayInterface.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayInterface\u003A\u003AsetUrl\u0028\u0029", + "name": "setUrl", + "summary": "Set\u0020URL\u0020of\u0020the\u0020relay.", + "url": "classes/swentel-nostr-RelayInterface.html#method_setUrl" }, { "fqsen": "\\swentel\\nostr\\RelayInterface\u003A\u003AgetUrl\u0028\u0029", "name": "getUrl", - "summary": "Get\u0020url\u0020of\u0020the\u0020relay.", + "summary": "Get\u0020URL\u0020of\u0020the\u0020relay.", "url": "classes/swentel-nostr-RelayInterface.html#method_getUrl" + }, { + "fqsen": "\\swentel\\nostr\\RelayInterface\u003A\u003AsetMessage\u0028\u0029", + "name": "setMessage", + "summary": "Set\u0020message\u0020that\u0020will\u0020be\u0020sent\u0020to\u0020the\u0020relay.", + "url": "classes/swentel-nostr-RelayInterface.html#method_setMessage" }, { "fqsen": "\\swentel\\nostr\\RelayInterface\u003A\u003Asend\u0028\u0029", "name": "send", - "summary": "Send\u0020the\u0020message\u0020to\u0020the\u0020relay.", + "summary": "Sends\u0020the\u0020message\u0020to\u0020the\u0020relay.", "url": "classes/swentel-nostr-RelayInterface.html#method_send" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponse", + "name": "RelayResponse", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponse.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponse\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponse.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponse\u003A\u003AcreateResponse\u0028\u0029", + "name": "createResponse", + "summary": "Create\u0020a\u0020response\u0020object\u0020based\u0020on\u0020the\u0020given\u0020type\u0020using\u0020a\u0020match\u0020expression.", + "url": "classes/swentel-nostr-RelayResponse-RelayResponse.html#method_createResponse" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponse\u003A\u003Acreate\u0028\u0029", + "name": "create", + "summary": "Static\u0020method\u0020to\u0020create\u0020a\u0020response\u0020object\u0020based\u0020on\u0020the\u0020given\u0020type\u0020using\u0020a\u0020match\u0020expression.", + "url": "classes/swentel-nostr-RelayResponse-RelayResponse.html#method_create" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponse\u003A\u003A\u0024isSuccess", + "name": "isSuccess", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponse.html#property_isSuccess" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponse\u003A\u003A\u0024message", + "name": "message", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponse.html#property_message" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponse\u003A\u003A\u0024type", + "name": "type", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponse.html#property_type" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseAuth", + "name": "RelayResponseAuth", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseAuth.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseAuth\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseAuth.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseAuth\u003A\u003A\u0024message", + "name": "message", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseAuth.html#property_message" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseClosed", + "name": "RelayResponseClosed", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseClosed.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseClosed\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseClosed.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseClosed\u003A\u003A\u0024subscriptionId", + "name": "subscriptionId", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseClosed.html#property_subscriptionId" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseClosed\u003A\u003A\u0024message", + "name": "message", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseClosed.html#property_message" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEnum", + "name": "RelayResponseEnum", + "summary": "Enum\u0020with\u0020response\u0020types.", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEnum.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEnum\u003A\u003AEVENT", + "name": "EVENT", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEnum.html#enumcase_EVENT" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEnum\u003A\u003AOK", + "name": "OK", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEnum.html#enumcase_OK" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEnum\u003A\u003AEOSE", + "name": "EOSE", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEnum.html#enumcase_EOSE" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEnum\u003A\u003ACLOSED", + "name": "CLOSED", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEnum.html#enumcase_CLOSED" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEnum\u003A\u003ANOTICE", + "name": "NOTICE", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEnum.html#enumcase_NOTICE" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEnum\u003A\u003AAUTH", + "name": "AUTH", + "summary": "NIP\u002D42\u0020support\u0020\u002D\u0020Authentication\u0020of\u0020clients\u0020to\u0020relays\nhttps\u003A\/\/github.com\/nostr\u002Dprotocol\/nips\/blob\/master\/42.md", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEnum.html#enumcase_AUTH" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEose", + "name": "RelayResponseEose", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEose.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEose\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEose.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEose\u003A\u003A\u0024subscriptionId", + "name": "subscriptionId", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEose.html#property_subscriptionId" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEvent", + "name": "RelayResponseEvent", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEvent.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEvent\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEvent.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEvent\u003A\u003A\u0024subscriptionId", + "name": "subscriptionId", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEvent.html#property_subscriptionId" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseEvent\u003A\u003A\u0024event", + "name": "event", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseEvent.html#property_event" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseNotice", + "name": "RelayResponseNotice", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseNotice.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseNotice\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseNotice.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseNotice\u003A\u003A\u0024message", + "name": "message", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseNotice.html#property_message" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseOk", + "name": "RelayResponseOk", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseOk.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseOk\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseOk.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseOk\u003A\u003A\u0024eventId", + "name": "eventId", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseOk.html#property_eventId" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseOk\u003A\u003A\u0024status", + "name": "status", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseOk.html#property_status" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse\\RelayResponseOk\u003A\u003A\u0024message", + "name": "message", + "summary": "", + "url": "classes/swentel-nostr-RelayResponse-RelayResponseOk.html#property_message" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponseInterface", + "name": "RelayResponseInterface", + "summary": "", + "url": "classes/swentel-nostr-RelayResponseInterface.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponseInterface\u003A\u003AcreateResponse\u0028\u0029", + "name": "createResponse", + "summary": "", + "url": "classes/swentel-nostr-RelayResponseInterface.html#method_createResponse" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponseInterface\u003A\u003Acreate\u0028\u0029", + "name": "create", + "summary": "", + "url": "classes/swentel-nostr-RelayResponseInterface.html#method_create" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponseInterface\u003A\u003AisSuccess\u0028\u0029", + "name": "isSuccess", + "summary": "Returns\u0020whether\u0020the\u0020request\u0020was\u0020successful.", + "url": "classes/swentel-nostr-RelayResponseInterface.html#method_isSuccess" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface", + "name": "RelaySetInterface", + "summary": "", + "url": "classes/swentel-nostr-RelaySetInterface.html" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003AsetRelays\u0028\u0029", + "name": "setRelays", + "summary": "Set\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_setRelays" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003AgetRelays\u0028\u0029", + "name": "getRelays", + "summary": "Get\u0020all\u0020relays.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_getRelays" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003AaddRelay\u0028\u0029", + "name": "addRelay", + "summary": "Add\u0020relay\u0020to\u0020this\u0020set.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_addRelay" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003AremoveRelay\u0028\u0029", + "name": "removeRelay", + "summary": "Remove\u0020relay\u0020from\u0020this\u0020set.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_removeRelay" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003AsetMessage\u0028\u0029", + "name": "setMessage", + "summary": "The\u0020message\u0020to\u0020be\u0020sent\u0020to\u0020the\u0020relays.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_setMessage" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003AcreateFromUrls\u0028\u0029", + "name": "createFromUrls", + "summary": "Create\u0020a\u0020relay\u0020set\u0020from\u0020a\u0020list\u0020of\u0020relay\u0020URLs.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_createFromUrls" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003Aconnect\u0028\u0029", + "name": "connect", + "summary": "Connect\u0020to\u0020all\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_connect" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003Adisconnect\u0028\u0029", + "name": "disconnect", + "summary": "Disconnect\u0020all\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_disconnect" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003AisConnected\u0028\u0029", + "name": "isConnected", + "summary": "All\u0020are\u0020relays\u0020connected\u003F", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_isConnected" + }, { + "fqsen": "\\swentel\\nostr\\RelaySetInterface\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Sends\u0020the\u0020message\u0020to\u0020all\u0020the\u0020relays\u0020in\u0020this\u0020set.", + "url": "classes/swentel-nostr-RelaySetInterface.html#method_send" + }, { + "fqsen": "\\swentel\\nostr\\Request\\Request", + "name": "Request", + "summary": "", + "url": "classes/swentel-nostr-Request-Request.html" + }, { + "fqsen": "\\swentel\\nostr\\Request\\Request\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor\u0020for\u0020the\u0020Request\u0020class.", + "url": "classes/swentel-nostr-Request-Request.html#method___construct" + }, { + "fqsen": "\\swentel\\nostr\\Request\\Request\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Method\u0020to\u0020send\u0020all\u0020data\u0020to\u0020the\u0020Websocket\u0020client\u0020which\u0020will\u0020connect\u0020to\u0020the\u0020relay\u0028s\u0029.", + "url": "classes/swentel-nostr-Request-Request.html#method_send" + }, { + "fqsen": "\\swentel\\nostr\\Request\\Request\u003A\u003AgetResponseFromRelay\u0028\u0029", + "name": "getResponseFromRelay", + "summary": "Method\u0020to\u0020send\u0020a\u0020request\u0020using\u0020WebSocket\u0020client,\u0020receive\u0020responses,\u0020and\u0020handle\u0020errors.", + "url": "classes/swentel-nostr-Request-Request.html#method_getResponseFromRelay" + }, { + "fqsen": "\\swentel\\nostr\\Request\\Request\u003A\u003A\u0024relays", + "name": "relays", + "summary": "RelaySet.", + "url": "classes/swentel-nostr-Request-Request.html#property_relays" + }, { + "fqsen": "\\swentel\\nostr\\Request\\Request\u003A\u003A\u0024payload", + "name": "payload", + "summary": "Request\u0020message\u0020sent\u0020to\u0020relay.", + "url": "classes/swentel-nostr-Request-Request.html#property_payload" + }, { + "fqsen": "\\swentel\\nostr\\RequestInterface", + "name": "RequestInterface", + "summary": "", + "url": "classes/swentel-nostr-RequestInterface.html" + }, { + "fqsen": "\\swentel\\nostr\\RequestInterface\u003A\u003Asend\u0028\u0029", + "name": "send", + "summary": "Method\u0020to\u0020send\u0020all\u0020data\u0020to\u0020the\u0020Websocket\u0020client\u0020which\u0020will\u0020connect\u0020to\u0020the\u0020relay\u0028s\u0029.", + "url": "classes/swentel-nostr-RequestInterface.html#method_send" }, { "fqsen": "\\swentel\\nostr\\Sign\\Sign", "name": "Sign", @@ -425,6 +1080,26 @@ Search.appendIndex( "name": "serializeEvent", "summary": "Serialize\u0020the\u0020event\u0020so\u0020the\u0020id\u0020can\u0020be\u0020created.", "url": "classes/swentel-nostr-Sign-Sign.html#method_serializeEvent" + }, { + "fqsen": "\\swentel\\nostr\\Subscription\\Subscription", + "name": "Subscription", + "summary": "", + "url": "classes/swentel-nostr-Subscription-Subscription.html" + }, { + "fqsen": "\\swentel\\nostr\\Subscription\\Subscription\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "", + "url": "classes/swentel-nostr-Subscription-Subscription.html#method_setId" + }, { + "fqsen": "\\swentel\\nostr\\SubscriptionInterface", + "name": "SubscriptionInterface", + "summary": "", + "url": "classes/swentel-nostr-SubscriptionInterface.html" + }, { + "fqsen": "\\swentel\\nostr\\SubscriptionInterface\u003A\u003AsetId\u0028\u0029", + "name": "setId", + "summary": "", + "url": "classes/swentel-nostr-SubscriptionInterface.html#method_setId" }, { "fqsen": "\\ConvertTest", "name": "ConvertTest", @@ -445,6 +1120,26 @@ Search.appendIndex( "name": "testGetPublicKey", "summary": "Tests\u0020getting\u0020public\u0020key\u0020from\u0020private\u0020key.", "url": "classes/GenerateTest.html#method_testGetPublicKey" + }, { + "fqsen": "\\RelayResponseTest", + "name": "RelayResponseTest", + "summary": "", + "url": "classes/RelayResponseTest.html" + }, { + "fqsen": "\\RelayResponseTest\u003A\u003AtestSendRequestToRelayAndResultAuth\u0028\u0029", + "name": "testSendRequestToRelayAndResultAuth", + "summary": "", + "url": "classes/RelayResponseTest.html#method_testSendRequestToRelayAndResultAuth" + }, { + "fqsen": "\\RelaySetTest", + "name": "RelaySetTest", + "summary": "", + "url": "classes/RelaySetTest.html" + }, { + "fqsen": "\\RelaySetTest\u003A\u003AtestSendNoteToRelaySet\u0028\u0029", + "name": "testSendNoteToRelaySet", + "summary": "Tests\u0020sending\u0020a\u0020note\u0020to\u0020a\u0020set\u0020of\u0020relays.", + "url": "classes/RelaySetTest.html#method_testSendNoteToRelaySet" }, { "fqsen": "\\RelayTest", "name": "RelayTest", @@ -455,6 +1150,16 @@ Search.appendIndex( "name": "testSendNoteToRelay", "summary": "Tests\u0020sending\u0020a\u0020note\u0020to\u0020a\u0020relay.", "url": "classes/RelayTest.html#method_testSendNoteToRelay" + }, { + "fqsen": "\\RequestTest", + "name": "RequestTest", + "summary": "", + "url": "classes/RequestTest.html" + }, { + "fqsen": "\\RequestTest\u003A\u003AtestSendRequestToRelay\u0028\u0029", + "name": "testSendRequestToRelay", + "summary": "Tests\u0020sending\u0020a\u0020request\u0020to\u0020a\u0020relay.", + "url": "classes/RequestTest.html#method_testSendRequestToRelay" }, { "fqsen": "\\SerializeTest", "name": "SerializeTest", @@ -511,10 +1216,10 @@ Search.appendIndex( "summary": "", "url": "namespaces/swentel-nostr-event.html" }, { - "fqsen": "\\swentel\\nostr\\Examples", - "name": "Examples", + "fqsen": "\\swentel\\nostr\\Filter", + "name": "Filter", "summary": "", - "url": "namespaces/swentel-nostr-examples.html" + "url": "namespaces/swentel-nostr-filter.html" }, { "fqsen": "\\swentel\\nostr\\Key", "name": "Key", @@ -530,10 +1235,25 @@ Search.appendIndex( "name": "Relay", "summary": "", "url": "namespaces/swentel-nostr-relay.html" + }, { + "fqsen": "\\swentel\\nostr\\RelayResponse", + "name": "RelayResponse", + "summary": "", + "url": "namespaces/swentel-nostr-relayresponse.html" + }, { + "fqsen": "\\swentel\\nostr\\Request", + "name": "Request", + "summary": "", + "url": "namespaces/swentel-nostr-request.html" }, { "fqsen": "\\swentel\\nostr\\Sign", "name": "Sign", "summary": "", "url": "namespaces/swentel-nostr-sign.html" + }, { + "fqsen": "\\swentel\\nostr\\Subscription", + "name": "Subscription", + "summary": "", + "url": "namespaces/swentel-nostr-subscription.html" } ] ); diff --git a/phpdoc.nostr-php.dev/namespaces/default.html b/phpdoc.nostr-php.dev/namespaces/default.html index 4d0da65..85931d0 100644 --- a/phpdoc.nostr-php.dev/namespaces/default.html +++ b/phpdoc.nostr-php.dev/namespaces/default.html @@ -147,7 +147,7 @@

                                                                                                      -
                                                                                                      ConvertTest
                                                                                                      GenerateTest
                                                                                                      RelayTest
                                                                                                      SerializeTest
                                                                                                      VerifyTest
                                                                                                      +
                                                                                                      ConvertTest
                                                                                                      GenerateTest
                                                                                                      RelayResponseTest
                                                                                                      RelaySetTest
                                                                                                      RelayTest
                                                                                                      RequestTest
                                                                                                      SerializeTest
                                                                                                      VerifyTest
                                                                                                      diff --git a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-filter.html b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-filter.html new file mode 100644 index 0000000..cc6f831 --- /dev/null +++ b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-filter.html @@ -0,0 +1,293 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                                      +

                                                                                                      nostr-php

                                                                                                      + + + + +
                                                                                                      + +
                                                                                                      +
                                                                                                      + + + +
                                                                                                      +
                                                                                                      + + +
                                                                                                      +

                                                                                                      Filter

                                                                                                      + + +

                                                                                                      + Table of Contents + + +

                                                                                                      + + + + +

                                                                                                      + Classes + + +

                                                                                                      +
                                                                                                      +
                                                                                                      Filter
                                                                                                      + + + + + + + + + + + +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      
                                                                                                      +        
                                                                                                      + +
                                                                                                      +
                                                                                                      + + + +
                                                                                                      +
                                                                                                      +
                                                                                                      + +
                                                                                                      + On this page + +
                                                                                                        +
                                                                                                      • Table Of Contents
                                                                                                      • +
                                                                                                      • + +
                                                                                                      • + + +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +

                                                                                                      Search results

                                                                                                      + +
                                                                                                      +
                                                                                                      +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        + + +
                                                                                                        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-message.html b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-message.html index 0c4aa27..f224457 100644 --- a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-message.html +++ b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-message.html @@ -141,9 +141,16 @@

                                                                                                        -
                                                                                                        EventMessage
                                                                                                        +
                                                                                                        CloseMessage
                                                                                                        EventMessage
                                                                                                        RequestMessage
                                                                                                        +

                                                                                                        + Enums + + +

                                                                                                        +
                                                                                                        +
                                                                                                        MessageTypeEnum
                                                                                                        Enum with message types.
                                                                                                        @@ -257,7 +264,8 @@

                                                                                                      • +
                                                                                                      • Enums
                                                                                                      • +

                                                                                                      diff --git a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-relay.html b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-relay.html index b7b6536..93b1e1b 100644 --- a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-relay.html +++ b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-relay.html @@ -141,7 +141,7 @@

                                                                                                      -
                                                                                                      CommandResult
                                                                                                      Relay
                                                                                                      +
                                                                                                      CommandResult
                                                                                                      Relay
                                                                                                      RelaySet
                                                                                                      diff --git a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-relayresponse.html b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-relayresponse.html new file mode 100644 index 0000000..ac3b00a --- /dev/null +++ b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-relayresponse.html @@ -0,0 +1,301 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                                      +

                                                                                                      nostr-php

                                                                                                      + + + + +
                                                                                                      + +
                                                                                                      +
                                                                                                      + + + +
                                                                                                      +
                                                                                                      + + +
                                                                                                      +

                                                                                                      RelayResponse

                                                                                                      + + +

                                                                                                      + Table of Contents + + +

                                                                                                      + + + + +

                                                                                                      + Classes + + +

                                                                                                      +
                                                                                                      +
                                                                                                      RelayResponse
                                                                                                      RelayResponseAuth
                                                                                                      RelayResponseClosed
                                                                                                      RelayResponseEose
                                                                                                      RelayResponseEvent
                                                                                                      RelayResponseNotice
                                                                                                      RelayResponseOk
                                                                                                      + + +

                                                                                                      + Enums + + +

                                                                                                      +
                                                                                                      +
                                                                                                      RelayResponseEnum
                                                                                                      Enum with response types.
                                                                                                      + + + + + + + + + +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      
                                                                                                      +        
                                                                                                      + +
                                                                                                      +
                                                                                                      + + + +
                                                                                                      +
                                                                                                      +
                                                                                                      + +
                                                                                                      + On this page + + +
                                                                                                      + +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +

                                                                                                      Search results

                                                                                                      + +
                                                                                                      +
                                                                                                      +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        + + +
                                                                                                        + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-request.html b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-request.html new file mode 100644 index 0000000..a2a3cb6 --- /dev/null +++ b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-request.html @@ -0,0 +1,293 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                                        +

                                                                                                        nostr-php

                                                                                                        + + + + +
                                                                                                        + +
                                                                                                        +
                                                                                                        + + + +
                                                                                                        +
                                                                                                        + + +
                                                                                                        +

                                                                                                        Request

                                                                                                        + + +

                                                                                                        + Table of Contents + + +

                                                                                                        + + + + +

                                                                                                        + Classes + + +

                                                                                                        +
                                                                                                        +
                                                                                                        Request
                                                                                                        + + + + + + + + + + + +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        
                                                                                                        +        
                                                                                                        + +
                                                                                                        +
                                                                                                        + + + +
                                                                                                        +
                                                                                                        +
                                                                                                        + +
                                                                                                        + On this page + +
                                                                                                          +
                                                                                                        • Table Of Contents
                                                                                                        • +
                                                                                                        • + +
                                                                                                        • + + +
                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +

                                                                                                        Search results

                                                                                                        + +
                                                                                                        +
                                                                                                        +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          + + +
                                                                                                          + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/namespaces/swentel-nostr-subscription.html b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-subscription.html new file mode 100644 index 0000000..f644f9b --- /dev/null +++ b/phpdoc.nostr-php.dev/namespaces/swentel-nostr-subscription.html @@ -0,0 +1,293 @@ + + + + + nostr-php + + + + + + + + + + + + + + + + + + + + + +
                                                                                                          +

                                                                                                          nostr-php

                                                                                                          + + + + +
                                                                                                          + +
                                                                                                          +
                                                                                                          + + + +
                                                                                                          +
                                                                                                          + + +
                                                                                                          +

                                                                                                          Subscription

                                                                                                          + + +

                                                                                                          + Table of Contents + + +

                                                                                                          + + + + +

                                                                                                          + Classes + + +

                                                                                                          +
                                                                                                          +
                                                                                                          Subscription
                                                                                                          + + + + + + + + + + + +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          
                                                                                                          +        
                                                                                                          + +
                                                                                                          +
                                                                                                          + + + +
                                                                                                          +
                                                                                                          +
                                                                                                          + +
                                                                                                          + On this page + +
                                                                                                            +
                                                                                                          • Table Of Contents
                                                                                                          • +
                                                                                                          • + +
                                                                                                          • + + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +

                                                                                                          Search results

                                                                                                          + +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            + + +
                                                                                                            + + + + + + + + \ No newline at end of file diff --git a/phpdoc.nostr-php.dev/namespaces/swentel-nostr.html b/phpdoc.nostr-php.dev/namespaces/swentel-nostr.html index d0c00a2..893109d 100644 --- a/phpdoc.nostr-php.dev/namespaces/swentel-nostr.html +++ b/phpdoc.nostr-php.dev/namespaces/swentel-nostr.html @@ -140,11 +140,14 @@

                                                                                                            Application
                                                                                                            Event
                                                                                                            -
                                                                                                            Examples
                                                                                                            +
                                                                                                            Filter
                                                                                                            Key
                                                                                                            Message
                                                                                                            Relay
                                                                                                            +
                                                                                                            RelayResponse
                                                                                                            +
                                                                                                            Request
                                                                                                            Sign
                                                                                                            +
                                                                                                            Subscription

                                                                                                            @@ -153,7 +156,7 @@

                                                                                                            -
                                                                                                            CommandResultInterface
                                                                                                            EventInterface
                                                                                                            Nostr Event interface.
                                                                                                            MessageInterface
                                                                                                            RelayInterface
                                                                                                            +
                                                                                                            CommandResultInterface
                                                                                                            EventInterface
                                                                                                            Nostr Event interface.
                                                                                                            FilterInterface
                                                                                                            MessageInterface
                                                                                                            RelayInterface
                                                                                                            RelayResponseInterface
                                                                                                            RelaySetInterface
                                                                                                            RequestInterface
                                                                                                            SubscriptionInterface
                                                                                                            diff --git a/phpdoc.nostr-php.dev/packages/Application.html b/phpdoc.nostr-php.dev/packages/Application.html index 2383b12..666fe4b 100644 --- a/phpdoc.nostr-php.dev/packages/Application.html +++ b/phpdoc.nostr-php.dev/packages/Application.html @@ -138,7 +138,7 @@

                                                                                                            -
                                                                                                            CommandResultInterface
                                                                                                            EventInterface
                                                                                                            Nostr Event interface.
                                                                                                            MessageInterface
                                                                                                            RelayInterface
                                                                                                            +
                                                                                                            CommandResultInterface
                                                                                                            EventInterface
                                                                                                            Nostr Event interface.
                                                                                                            FilterInterface
                                                                                                            MessageInterface
                                                                                                            RelayInterface
                                                                                                            RelayResponseInterface
                                                                                                            RelaySetInterface
                                                                                                            RequestInterface
                                                                                                            SubscriptionInterface

                                                                                                            Classes @@ -146,9 +146,16 @@

                                                                                                            -
                                                                                                            Client
                                                                                                            Event
                                                                                                            Generic Nostr event class.
                                                                                                            Key
                                                                                                            EventMessage
                                                                                                            CommandResult
                                                                                                            Relay
                                                                                                            Sign
                                                                                                            ConvertTest
                                                                                                            GenerateTest
                                                                                                            RelayTest
                                                                                                            SerializeTest
                                                                                                            VerifyTest
                                                                                                            +
                                                                                                            Client
                                                                                                            Event
                                                                                                            Generic Nostr event class.
                                                                                                            Filter
                                                                                                            Key
                                                                                                            CloseMessage
                                                                                                            EventMessage
                                                                                                            RequestMessage
                                                                                                            CommandResult
                                                                                                            Relay
                                                                                                            RelaySet
                                                                                                            RelayResponse
                                                                                                            RelayResponseAuth
                                                                                                            RelayResponseClosed
                                                                                                            RelayResponseEose
                                                                                                            RelayResponseEvent
                                                                                                            RelayResponseNotice
                                                                                                            RelayResponseOk
                                                                                                            Request
                                                                                                            Sign
                                                                                                            Subscription
                                                                                                            ConvertTest
                                                                                                            GenerateTest
                                                                                                            RelayResponseTest
                                                                                                            RelaySetTest
                                                                                                            RelayTest
                                                                                                            RequestTest
                                                                                                            SerializeTest
                                                                                                            VerifyTest
                                                                                                            +

                                                                                                            + Enums + + +

                                                                                                            +
                                                                                                            +
                                                                                                            MessageTypeEnum
                                                                                                            Enum with message types.
                                                                                                            RelayResponseEnum
                                                                                                            Enum with response types.
                                                                                                            @@ -263,7 +270,8 @@

                                                                                                            +
                                                                                                          • Enums
                                                                                                          • + diff --git a/phpdoc.nostr-php.dev/reports/markers.html b/phpdoc.nostr-php.dev/reports/markers.html index 5803f69..64d105b 100644 --- a/phpdoc.nostr-php.dev/reports/markers.html +++ b/phpdoc.nostr-php.dev/reports/markers.html @@ -128,13 +128,13 @@

                                                                                                            Markers

                                                                                                            Table of Contents

                                                                                                            - - + +
                                                                                                            src/Relay/Relay.php1src/Relay/RelaySet.php3
                                                                                                            - -

                                                                                                            Relay.php

                                                                                                            + +

                                                                                                            RelaySet.php

                                                                                                            @@ -146,8 +146,18 @@

                                                                                                            Relay.php

                                                                                                            - - + + + + + + + + + + + +
                                                                                                            TODO36validate URL which has to be a websocket URL starting with ws:// or wss://.64Implement removeRelay() method.
                                                                                                            TODO91Implement connect() method.
                                                                                                            TODO100Implement disconnect() method.