- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 647 for nbsend (0.07 sec)
-
internal/event/target/kafka.go
} _, err := target.store.Put(eventData) return err } if err := target.init(); err != nil { return err } return target.send(eventData) } // send - sends an event to the kafka. func (target *KafkaTarget) send(eventData event.Event) error { if target.producer == nil { return store.ErrNotConnected } msg, err := target.toProducerMessage(eventData) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.6K bytes - Viewed (0) -
docs_src/background_tasks/tutorial002.py
def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q @app.post("/send-notification/{email}") async def send_notification( email: str, background_tasks: BackgroundTasks, q: str = Depends(get_query) ): message = f"message to {email}\n" background_tasks.add_task(write_log, message)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 675 bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
req.setCreateDisposition(Smb2CreateRequest.FILE_OPEN); req.chain(new Smb2CloseRequest(th.getConfig(), fileName)); th.send(req); } else { th.send(new SmbComDeleteDirectory(th.getConfig(), fileName), new SmbComBlankResponse(th.getConfig())); } } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
} SmbTreeHandleImpl th = getTreeHandle(); this.response = new Trans2FindFirst2Response(th.getConfig()); try { th.send( new Trans2FindFirst2( th.getConfig(), unc, this.getWildcard(), this.getSearchAttributes(),
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:13:49 UTC 2021 - 5.3K bytes - Viewed (0) -
internal/event/target/mysql.go
} if err := target.init(); err != nil { return err } _, err := target.isActive() if err != nil { return err } return target.send(eventData) } // send - sends an event to the mysql. func (target *MySQLTarget) send(eventData event.Event) error { if target.args.Format == event.NamespaceFormat { objectName, err := url.QueryUnescape(eventData.S3.Object.Key) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 11.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* `ConcurrentModificationException`, but if new responses are added while iterating, their URLs * will not be returned. If existing responses are evicted during iteration, they will be absent * (unless they were already returned). * * The iterator supports [MutableIterator.remove]. Removing a URL from the iterator evicts the * corresponding response from the cache. Use this to evict selected responses.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
internal/event/target/postgresql.go
return err } return target.send(eventData) } // IsConnErr - To detect a connection error. func IsConnErr(err error) bool { return xnet.IsConnRefusedErr(err) || err.Error() == "sql: database is closed" || err.Error() == "sql: statement is closed" || err.Error() == "invalid connection" } // send - sends an event to the PostgreSQL. func (target *PostgreSQLTarget) send(eventData event.Event) error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.3K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
from docs_src.background_tasks.tutorial001 import app client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***") assert response.status_code == 200, response.text assert response.json() == {"message": "Notification sent in the background"} with open("./log.txt") as f:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 578 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
* previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code * put}, returns {@code null} both if the key is absent and if it is present with a null * value.) */ @CanIgnoreReturnValue @CheckForNull V forcePut(@ParametricNullness K key, @ParametricNullness V value); // Bulk Operations /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 4.3K bytes - Viewed (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py
from docs_src.background_tasks.tutorial002_an import app client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***?q=some-query") assert response.status_code == 200, response.text assert response.json() == {"message": "Message sent"} with open("./log.txt") as f:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 571 bytes - Viewed (0)