Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-capitalstrategy/src/http_routes.rs

cre8-app-capitalstrategy · module http_routes · src · 715 lines (580 code, 54 comment) · sha d0e3a057d1ec6f49

Items

const CAPITALSTRATEGY_PULSE_WS_WIRE_TYPE const CAPITALSTRATEGY_PULSE_WIRE_STREAM_ID static ACTIVE_STREAMS const DEFAULT_CADENCE_MS const MIN_CADENCE_MS const MAX_CADENCE_MS const DEFAULT_DURATION_S const MAX_DURATION_S const CONNECT_BACKFILL_MS struct StreamSlot impl StreamSlot impl Drop for StreamSlot struct MarketStreamReader impl MarketStreamReader impl Read for MarketStreamReader

Functions

By call-graph weight (PageRank; 1.0 is the average function). 56 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
capitalstrategy_pulse_patch_frame_forsrc/http_routes.rs:473fn311332.9
capitalstrategy_pulse_websocket_patch_framesrc/http_routes.rs:465fn71422.4
capitalstrategy_pulse_patch_framesrc/http_routes.rs:437fn31121.7
format_patch_valuesrc/http_routes.rs:513fn95101.6
capitalstrategy_pulse_patch_streamsrc/http_routes.rs:433fn31211.4
capitalstrategy_pulse_http_patch_framesrc/http_routes.rs:441fn71221.4
capitalstrategy_ticker_page_matchsrc/http_routes.rs:92fn41301.4
percent_decode_componentsrc/http_routes.rs:126fn306201.4
percent_valuesrc/http_routes.rs:505fn31101.3
patch_textsrc/http_routes.rs:509fn31111.3
capitalstrategy_pulse_websocket_wire_payload_from_framesrc/http_routes.rs:405fn272301.3
is_capitalstrategy_pulse_view_patch_typesrc/http_routes.rs:28fn61301.2
is_capitalstrategy_pulse_view_patch_wire_typesrc/http_routes.rs:38fn81301.2
capitalstrategy_pulse_websocket_bodysrc/http_routes.rs:374fn31211.1
resolve_capitalstrategy_pulsesrc/http_routes.rs:345fn101361.1
view_patch_wire_sequencesrc/http_routes.rs:50fn71201
capitalstrategy_pulse_events_matchsrc/http_routes.rs:97fn41201
capitalstrategy_pulse_patch_matchsrc/http_routes.rs:102fn41201
capitalstrategy_market_stream_matchsrc/http_routes.rs:107fn41201
max_streamssrc/http_routes.rs:189fn71101
MarketStreamReader::next_chunksrc/http_routes.rs:260method123110.9
capitalstrategy_pulse_sse_bodysrc/http_routes.rs:364fn31110.9
capitalstrategy_pulse_http_bodysrc/http_routes.rs:369fn31110.9
resolve_capitalstrategy_pulse_from_contextsrc/http_routes.rs:460fn41110.8
capitalstrategy_pulse_websocket_patch_frame_from_contextsrc/http_routes.rs:454fn51220.8
market_stream_query_paramsrc/http_routes.rs:115fn103210.8
capitalstrategy_pulse_websocket_wire_payloadsrc/http_routes.rs:379fn41120.7
capitalstrategy_pulse_websocket_patch_frame_from_snapshotsrc/http_routes.rs:450fn31120.7
respond_view_patch_jsonsrc/http_routes.rs:357fn31120.7
try_handle_ticker_routesrc/http_routes.rs:63fn289180.6
capitalstrategy_pulse_websocket_wire_payload_from_contextsrc/http_routes.rs:397fn71120.6
handle_capitalstrategy_market_stream_requestsrc/http_routes.rs:292fn331180.6
handle_capitalstrategy_pulse_events_requestsrc/http_routes.rs:335fn31130.6
handle_capitalstrategy_pulse_patch_requestsrc/http_routes.rs:340fn31130.6
handle_capitalstrategy_ticker_page_requestsrc/http_routes.rs:695fn2111120.6
StreamSlot::acquiresrc/http_routes.rs:201method133110.6
MarketStreamReader::newsrc/http_routes.rs:237method141110.6
MarketStreamReader::cadence_ms_fromsrc/http_routes.rs:252method31100.6
MarketStreamReader::duration_s_fromsrc/http_routes.rs:256method31100.6
respond_html_requestsrc/http_routes.rs:327fn61120.5
StreamSlot::dropsrc/http_routes.rs:217trait impl31000.5
MarketStreamReader::readsrc/http_routes.rs:275trait impl133010.5
capitalstrategy_pulse_websocket_wire_payload_from_snapshotsrc/http_routes.rs:385fn71020.5
ticker_page_match_accepts_canonical_and_html_routessrc/http_routes.rs:528fn51010.5
ticker_page_match_rejects_nested_or_unrelated_routessrc/http_routes.rs:535fn41010.5
pulse_events_match_accepts_live_patch_routessrc/http_routes.rs:541fn51010.5
pulse_patch_match_accepts_http_poll_routessrc/http_routes.rs:548fn51010.5
market_stream_match_accepts_stream_routes_onlysrc/http_routes.rs:555fn61010.5
market_stream_query_params_parse_and_percent_decodesrc/http_routes.rs:563fn111020.5
pulse_event_sse_body_contains_view_patch_targetssrc/http_routes.rs:576fn191010.5
pulse_http_patch_body_contains_same_patch_contract_for_http_slotsrc/http_routes.rs:597fn171010.5
pulse_websocket_patch_body_contains_same_patch_contract_for_ws_slotsrc/http_routes.rs:616fn171010.5
pulse_websocket_wire_payload_decodes_to_same_patch_contractsrc/http_routes.rs:635fn271020.5
pulse_view_patch_ws_types_are_recognizedsrc/http_routes.rs:664fn61010.5
pulse_view_patch_wire_ws_types_are_recognizedsrc/http_routes.rs:672fn61010.5
view_patch_wire_sequence_accepts_sequence_or_seqsrc/http_routes.rs:680fn51010.5

Source not readable from this process.